/* Reset and Base Styles */
:root {
  --bg-color: #ffffff;
  --text-color: #101011;
  --section-bg: #f8f9fa;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --primary-color: #3d5fe4;
  --accent-color: #b1fa06;
  --muted-text: #666;
}

.dark-theme {
  --bg-color: #101011;
  --text-color: #f8f9fa;
  --section-bg: #1a1a1a;
  --card-bg: #252525;
  --card-shadow: rgba(0, 0, 0, 0.4);
  --nav-bg: rgba(16, 16, 17, 0.8);
  --muted-text: #aaa;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

section {
  padding: 100px 20px;
  background-color: var(--bg-color);
}

.section-bg {
  background-color: var(--section-bg);
}

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

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

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

.nav-logo h2 {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

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

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #3d5fe4 0%, #4d6ff6 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-color), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #e0e0e0;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  color: #c0c0c0;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-color);
  color: #101110;
  box-shadow: 0 10px 30px rgba(177, 250, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(177, 250, 6, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #101011;
  transform: translateY(-3px);
}

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

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent-color);
  color: #101011;
  transform: translateY(-5px);
}

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

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

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.image-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: rotate 20s linear infinite;
}

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

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

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

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

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-text);
  font-weight: 300;
}

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

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 30px;
  font-weight: 600;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.05);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background: white;
}

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

.skill-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px var(--card-shadow);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--card-shadow);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.skill-card h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.skill-bar {
  background: var(--section-bg);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(45deg, #3d5fe4, #a29bfe);
  border-radius: 4px;
  width: 0;
  transition: width 2s ease;
}

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

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

.project-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(61, 95, 228, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

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

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d5fe4;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.project-link:hover {
  transform: scale(1.1);
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #101011;
  margin-bottom: 15px;
}

.project-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Figma Design Section */
.figma-designs {
  padding: 100px 0;
  background: white;
}

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

.figma-card {
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.figma-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(61, 95, 228, 0.2);
}

.figma-preview {
  position: relative;
  width: 100%;
  height: 400px;
  background: white;
  overflow: hidden;
}

.figma-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.figma-content {
  padding: 30px;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.figma-content h3 {
  font-size: 1.5rem;
  color: #101011;
  margin-bottom: 15px;
  font-weight: 600;
}

.figma-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.figma-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.design-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.figma-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #3d5fe4;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.figma-link:hover {
  background: #2d4fd4;
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(61, 95, 228, 0.4);
}

.figma-link i {
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: #3d5fe4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.contact-details h3 {
  color: #101011;
  margin-bottom: 5px;
}

.contact-details p {
  color: #666;
}

.contact-social {
  margin-top: 20px;
}

.contact-social h3 {
  color: #101011;
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-align: center;
}

.social-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-width: 100%;
}

.social-media-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: #f8f9fa;
  border-radius: 15px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 100px;
}

.social-media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(61, 95, 228, 0.2);
  border-color: #3d5fe4;
  color: #3d5fe4;
}

.social-media-item i {
  font-size: 2rem;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.social-media-item span {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* Specific social media colors on hover */
.social-media-item[title="GitHub"]:hover {
  background: #333;
  color: white;
  border-color: #333;
}

.social-media-item[title="LinkedIn"]:hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.social-media-item[title="Twitter"]:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.social-media-item[title="Instagram"]:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
  border-color: #e6683c;
}

.social-media-item[title="YouTube"]:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-media-item[title="YouTube Music"]:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-media-item[title="Discord"]:hover {
  background: #5865f2;
  color: white;
  border-color: #5865f2;
}

.social-media-item[title="Steam"]:hover {
  background: #171a21;
  color: white;
  border-color: #171a21;
}

.social-media-item[title="Spotify"]:hover {
  background: #1db954;
  color: white;
  border-color: #1db954;
}

.social-media-item[title="TikTok"]:hover {
  background: #000;
  color: white;
  border-color: #000;
}

.social-media-item[title="WhatsApp"]:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.social-media-item[title="Telegram"]:hover {
  background: #0088cc;
  color: white;
  border-color: #0088cc;
}

.social-media-item[title="Twitch"]:hover {
  background: #9146ff;
  color: white;
  border-color: #9146ff;
}

.contact-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3d5fe4;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  top: -10px;
  left: 10px;
  background: white;
  padding: 0 5px;
  font-size: 0.8rem;
  color: #3d5fe4;
}

/* Footer */
.footer {
  background: #101011;
  color: white;
  padding: 40px 0;
}

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


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

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

/* Slide in from left */
@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale up animation */
@keyframes scale-up {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Glow effect */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(61, 95, 228, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(61, 95, 228, 0.6);
  }
}

/* Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Bounce animation */
@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Wiggle animation */
@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

/* Hover animations for cards */
.skill-card, .project-card, .figma-card {
  animation: fade-in 0.6s ease forwards;
  will-change: transform;
}

.skill-card:hover, .project-card:hover, .figma-card:hover {
  animation: glow 2s ease-in-out infinite;
}

/* Social media items animation */
.social-media-item {
  animation: bounce-in 0.5s ease forwards;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.social-media-item:hover {
  animation: wiggle 0.5s ease;
}

/* Button shimmer effect */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Scroll indicator animation */
@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator {
  animation: scroll-bounce 2s infinite;
}

/* Section title underline animation */
.section-title::after {
  animation: scale-up 0.8s ease forwards;
  animation-delay: 0.3s;
  transform-origin: center;
}

/* Stats counter animation */
.stat {
  animation: bounce-in 0.6s ease forwards;
  animation-delay: calc(var(--stat-index, 0) * 0.2s);
}

/* Navbar scroll animation */
.navbar {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover effects */
.profile-img, .about-img, .project-image img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tech tags animation */
.tech-tag, .design-tag {
  animation: slide-in-left 0.5s ease forwards;
  animation-delay: calc(var(--tag-index, 0) * 0.1s);
  opacity: 0;
}

.tech-tag:nth-child(1), .design-tag:nth-child(1) { animation-delay: 0s; }
.tech-tag:nth-child(2), .design-tag:nth-child(2) { animation-delay: 0.1s; }
.tech-tag:nth-child(3), .design-tag:nth-child(3) { animation-delay: 0.2s; }
.tech-tag:nth-child(4), .design-tag:nth-child(4) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .social-media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .social-media-item {
    padding: 15px 8px;
    min-height: 80px;
  }

  .social-media-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .social-media-item span {
    font-size: 0.75rem;
  }

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

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

  .figma-preview {
    height: 300px;
  }
}

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

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

  .container {
    padding: 0 15px;
  }

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

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

  .social-media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .social-media-item {
    padding: 12px 6px;
    min-height: 70px;
  }

  .social-media-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .social-media-item span {
    font-size: 0.7rem;
  }

  .contact-social h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

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

  .figma-preview {
    height: 250px;
  }

  .figma-content {
    padding: 20px;
  }
}
