/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none; /* Firefox */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body,
html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  overflow-x: hidden;
  scroll-behavior: smooth;
  will-change: transform;
}

:root {
  --primary-color: #6c5ce7;
  --secondary-color: #fd79a8;
  --accent-color: #00cec9;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-alt: linear-gradient(45deg, #ff3e78, #6c5ce7, #00cec9);
  --glow-shadow: 0 0 20px rgba(108, 92, 231, 0.5), 0 0 40px rgba(253, 121, 168, 0.3);
  --gradient-shifting: linear-gradient(45deg, #6c5ce7, #fd79a8, #00cec9, #ff3e78);
  --gradient-shifting-alt: linear-gradient(-45deg, #00cec9, #6c5ce7, #fd79a8, #ff3e78);
  --shimmer-gradient: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Page load animation */
.page-loaded * {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shimmer effect */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: var(--shimmer-gradient);
  animation: shimmer 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 5%, rgba(108, 92, 231, 0.03), transparent 20%),
    radial-gradient(circle at 10% 30%, rgba(253, 121, 168, 0.03), transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(0, 206, 201, 0.03), transparent 20%),
    radial-gradient(circle at 30% 60%, rgba(108, 92, 231, 0.03), transparent 30%);
  z-index: -1;
  animation: backgroundShift 30s ease-in-out infinite alternate;
}

/* Animated scroll indicator */
body::after {
  content: "";
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(108, 92, 231, 0.5);
  border-radius: 20px;
  z-index: 100;
  opacity: 0;
  animation: fadeInOut 3s ease-in-out 2s forwards;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(108, 92, 231, 0.5);
  border-radius: 20px;
  z-index: 100;
  opacity: 0;
  animation: fadeInOut 3s ease-in-out 2s forwards;
  pointer-events: none;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

body::before {
  content: "";
  position: fixed;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 101;
  opacity: 0;
  animation: scrollMouseAnimation 3s ease-in-out 2s forwards;
  pointer-events: none;
}

@keyframes scrollMouseAnimation {
  0% {
    opacity: 0;
    bottom: 65px;
  }
  10% {
    opacity: 1;
    bottom: 65px;
  }
  30% {
    opacity: 1;
    bottom: 45px;
  }
  60% {
    opacity: 1;
    bottom: 65px;
  }
  90% {
    opacity: 1;
    bottom: 45px;
  }
  100% {
    opacity: 0;
    bottom: 45px;
  }
}

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

/* Hero Particles */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 2;
  animation: floatParticle 15s linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-100px) translateX(50px) scale(1.2);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-200px) translateX(-50px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-300px) translateX(100px) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-400px) translateX(0) scale(0.7);
    opacity: 0;
  }
}

/* Pulse animation for highlighting elements */
@keyframes pulseLight {
  0% {
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
  }
  100% {
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.4), 0 5px 15px rgba(253, 121, 168, 0.3);
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.98);
}

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

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  padding: 0.5rem 0;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, transparent 35%, rgba(108, 92, 231, 0.15) 50%, transparent 65%),
    linear-gradient(45deg, transparent 35%, rgba(253, 121, 168, 0.15) 50%, transparent 65%);
  animation: heroLightSweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroLightSweep {
  0% {
    background-position: -100% 0, 200% 0;
  }
  50% {
    background-position: 200% 0, -100% 0;
  }
  100% {
    background-position: -100% 0, 200% 0;
  }
}

/* About Section */
.about-section {
  padding: 7rem 5% 5rem;
  background-color: #151515;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(108, 92, 231, 0.08), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(253, 121, 168, 0.08), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(0, 206, 201, 0.05), transparent 50%);
  animation: aboutBackgroundShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

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

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

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.3s;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--secondary-color);
  opacity: 0.4;
  z-index: -1;
  transform: skewX(-15deg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeRight 1s ease forwards 0.5s, floatingImage 6s ease-in-out infinite 1.5s;
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatingImage {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) translateX(5px) rotate(2deg);
  }
  50% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  75% {
    transform: translateY(10px) translateX(-5px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

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

.code-sphere {
  width: 150px;
  height: 150px;
  background: var(--gradient);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px rgba(108, 92, 231, 0.7), 0 0 30px rgba(253, 121, 168, 0.5);
  animation: pulseSphere 3s ease-in-out infinite alternate;
}

@keyframes pulseSphere {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.5), 0 0 30px rgba(253, 121, 168, 0.3);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 80px rgba(108, 92, 231, 0.8), 0 0 40px rgba(253, 121, 168, 0.5);
  }
}

.orbit {
  width: 300px;
  height: 300px;
  border: 2px solid rgba(108, 92, 231, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateOrbit 20s linear infinite;
}

@keyframes rotateOrbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.tech-bubble {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
  transition: all 0.3s ease;
}

.tech-bubble:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #f7df1e;
}
.tech-bubble:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: #61dafb;
}
.tech-bubble:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #339933;
}
.tech-bubble:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #3776ab;
}
.tech-bubble:nth-child(5) {
  top: 25%;
  left: 25%;
  color: #00599c;
}

.tech-bubble:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(253, 121, 168, 0.7);
}

.about-text {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeLeft 1s ease forwards 0.7s;
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

.name-highlight {
  color: var(--secondary-color);
  position: relative;
  z-index: 1;
}

.name-highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 5px;
  left: 0;
  background-color: rgba(108, 92, 231, 0.3);
  z-index: -1;
  transform: skewX(-15deg);
}

.typing-effect {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--secondary-color);
  width: 0;
  animation: typing 3s steps(40) forwards 1s, blink 0.8s step-end infinite alternate;
}

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

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.bio-text {
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.accent-text {
  color: var(--secondary-color);
  font-weight: 600;
}

.skill-container {
  margin-bottom: 2rem;
}

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

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.percent {
  color: var(--secondary-color);
  font-weight: 600;
}

.skill-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  width: 0;
  position: relative;
  transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover .skill-bar {
  transform: scaleY(1.2);
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5), 0 0 30px rgba(253, 121, 168, 0.3);
}

.skill-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 5px;
  background: white;
  opacity: 0.5;
  border-radius: 0 4px 4px 0;
}

.specialties {
  margin-bottom: 2rem;
}

.specialty-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.specialty-tags span {
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  animation: floatingTag 3s ease-in-out infinite;
  animation-delay: calc(var(--tag-index, 0) * 0.3s);
}

.specialty-tags span:nth-child(1) {
  --tag-index: 1;
}
.specialty-tags span:nth-child(2) {
  --tag-index: 2;
}
.specialty-tags span:nth-child(3) {
  --tag-index: 3;
}
.specialty-tags span:nth-child(4) {
  --tag-index: 4;
}
.specialty-tags span:nth-child(5) {
  --tag-index: 5;
}
.specialty-tags span:nth-child(6) {
  --tag-index: 6;
}
.specialty-tags span:nth-child(7) {
  --tag-index: 7;
}

@keyframes floatingTag {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.specialty-tags span:hover {
  background: rgba(108, 92, 231, 0.3);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
  animation-play-state: paused;
  z-index: 10;
}

.code-snippet {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  background: #1e1e1e;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transform-style: preserve-3d;
}

.code-snippet:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.code-header {
  background: #333;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-name {
  font-family: monospace;
  color: #ddd;
}

pre {
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
}

code {
  font-family: "Consolas", monospace;
  color: #ddd;
  line-height: 1.5;
}

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

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-button.secondary:hover {
  background: rgba(108, 92, 231, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.2), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(253, 121, 168, 0.2), transparent 25%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.5;
    background-position: 0% 0%;
  }
  50% {
    opacity: 0.8;
    background-position: 100% 100%;
  }
  100% {
    opacity: 0.5;
    background-position: 0% 0%;
  }
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
  position: relative;
  z-index: 2;
  transition: all 0.6s ease;
}

.hero-content:hover h1 {
  animation: textGlow 1.5s ease-in-out infinite alternate;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: var(--gradient-alt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: textGlow 3s ease-in-out infinite alternate;
  position: relative;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(108, 92, 231, 0.7), 0 0 10px rgba(253, 121, 168, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(108, 92, 231, 0.8), 0 0 20px rgba(0, 206, 201, 0.6);
  }
  100% {
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.9), 0 0 30px rgba(253, 121, 168, 0.7);
  }
}

.hero-content h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-50%);
  animation: lineExpand 1.5s ease-in-out forwards 1s;
}

@keyframes lineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 60%;
  }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards 1.2s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.9;
  }
}

.cta-button {
  padding: 1rem 2.5rem;
  background: var(--gradient-shifting);
  background-size: 300% 300%;
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: btnAppear 0.5s ease-in-out forwards 1.5s, gradientShift 8s ease infinite 2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

@keyframes btnAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(108, 92, 231, 0.4);
}

/* Tabs Section */
.tabs-section {
  padding: 5rem 5%;
}

.tabs-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.tabs-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.tabs {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.tab-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  font-weight: 500;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: tabAnimation 0.5s ease forwards; /* Added animation */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab-btn::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(108, 92, 231, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
  z-index: -1;
  opacity: 0;
}

.tab-btn:active::after {
  transform: translate(-50%, -50%) scale(3);
  opacity: 1;
  transition: transform 0.3s ease-out, opacity 0.5s ease-out;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  z-index: -1;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform: scaleX(0);
  transform-origin: right;
  border-radius: 30px;
}

.tab-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  color: white;
}

.tab-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.tab-btn.active {
  background: var(--gradient);
  color: white;
  box-shadow: var(--glow-shadow);
  transform: translateY(-5px);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  padding: 2rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: paneAnimation 0.5s ease forwards; /* Added animation */
  position: relative;
  overflow: hidden;
}

.tab-pane::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease-out;
}

.tab-pane.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 1;
  transform: translateY(0);
  animation: paneAppear 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-pane.active::before {
  transform: scaleX(1);
}

@keyframes paneAppear {
  0% {
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(108, 92, 231, 0.1);
  }
}

@keyframes tabAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paneAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Website Preview Styles */
.website-preview {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  height: 500px;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: fadeUp 0.8s forwards; /* Added animation */
  position: relative;
}

.website-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(108, 92, 231, 0.2);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.website-preview:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 30px 60px rgba(108, 92, 231, 0.3), 0 10px 20px rgba(253, 121, 168, 0.3);
}

.website-preview:hover::after {
  opacity: 1;
}

.website-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(108, 92, 231, 0) 70%, rgba(108, 92, 231, 0.3) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 12px;
  pointer-events: none;
}

.website-preview:hover::before {
  opacity: 1;
  animation: shimmerEffect 2s infinite;
}

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

.preview-header {
  background-color: #f0f0f0;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
}

.circles {
  display: flex;
  gap: 0.5rem;
}

.circles span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.circles span:nth-child(1) {
  background-color: #ff5f56;
}

.circles span:nth-child(2) {
  background-color: #ffbd2e;
}

.circles span:nth-child(3) {
  background-color: #27c93f;
}

.preview-url {
  margin-left: auto;
  font-size: 0.8rem;
  color: #666;
}

.preview-body {
  height: calc(100% - 40px);
  overflow: hidden;
  position: relative;
}

.preview-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.preview-logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.preview-nav ul {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.website-info {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  animation: fadeUp 0.8s forwards; /* Added animation */
}

.website-info h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.website-info p {
  color: #666;
}

/* Digital Agency Preview */
.digital-agency .preview-logo {
  color: #6c5ce7;
}

.preview-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  height: 250px;
}

.preview-text {
  max-width: 50%;
}

.preview-text h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.preview-text p {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.preview-text button {
  padding: 0.5rem 1rem;
  background: #6c5ce7;
  color: white;
  border-radius: 5px;
  font-size: 0.8rem;
}

.preview-image {
  width: 40%;
  height: 100%;
  position: relative;
}

.shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6c5ce7, #fd79a8);
  border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}

.preview-services {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: #f8f9fa;
  width: 30%;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  animation: fadeUp 0.8s forwards; /* Added animation */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7, #fd79a8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* E-Commerce Preview */
.e-commerce .preview-nav {
  background-color: #fff;
}

.e-commerce .preview-logo {
  font-weight: 800;
  letter-spacing: 2px;
}

.preview-banner {
  background-color: #000;
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  animation: slideRight 15s linear infinite;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

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

.product-image {
  height: 150px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.product h4 {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.product p {
  font-weight: 600;
  color: #333;
  font-size: 0.8rem;
}

/* Portfolio Preview */
.portfolio .preview-nav {
  background-color: #111;
  color: white;
}

.intro-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  height: 250px;
  background-color: #111;
  color: white;
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.1), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(253, 121, 168, 0.1), transparent 50%);
  z-index: 0;
}

.intro-text {
  position: relative;
  z-index: 1;
}

.intro-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.intro-text h2 span {
  color: #fd79a8;
  position: relative;
  display: inline-block;
  animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.intro-text h3 {
  color: #ddd;
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.intro-text p {
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  opacity: 0.8;
}

.portfolio .preview-logo {
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #6c5ce7, #fd79a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoGlow 3s ease-in-out infinite alternate;
  position: relative;
}

.portfolio .preview-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--primary-color);
  animation: blinkDot 1.5s ease-in-out infinite alternate;
}

@keyframes blinkDot {
  0% {
    opacity: 0.3;
    transform: translateY(-50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
}

@keyframes logoGlow {
  0% {
    text-shadow: 0 0 5px rgba(108, 92, 231, 0.5);
  }
  100% {
    text-shadow: 0 0 15px rgba(253, 121, 168, 0.8);
  }
}

.code-animation {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #222;
  border: 5px solid #fd79a8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(253, 121, 168, 0.5);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(253, 121, 168, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.7);
  }
}

.code-line {
  border-radius: 4px;
  height: 8px;
  margin-bottom: 10px;
  background-color: rgba(108, 92, 231, 0.7);
  animation: codeLineAnimation 1s ease-in-out infinite alternate;
}

@keyframes codeLineAnimation {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.1);
  }
  100% {
    transform: scaleX(1);
  }
}

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

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

.skills-section {
  padding: 2rem;
  background-color: #222;
  color: white;
}

.skill {
  margin-bottom: 1rem;
}

.skill-bar {
  height: 8px;
  background-color: #444;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.skill-level {
  height: 100%;
  background: linear-gradient(to right, #6c5ce7, #fd79a8);
  border-radius: 4px;
  animation: skillFill 2s ease forwards;
}

.skill p {
  font-size: 0.8rem;
  color: #ccc;
}

/* Restaurant Preview */
.restaurant .preview-nav {
  background-color: #fff;
  box-shadow: none;
  border-bottom: 1px solid #eee;
}

.restaurant .preview-logo {
  font-family: cursive;
  color: #333;
}

.restaurant-hero {
  height: 200px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.restaurant-hero h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.restaurant-hero button {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.restaurant-hero button:hover {
  background-color: white;
  color: #333;
}

.menu-preview {
  padding: 2rem;
}

.menu-category h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

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

.item-details h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.item-details p {
  font-size: 0.8rem;
  color: #666;
}

.price {
  font-weight: 600;
}

/* Travel Blog Preview */
.travel-blog .preview-nav {
  background-color: #fff;
}

.travel-blog .preview-logo {
  color: #6c5ce7;
}

.blog-header {
  padding: 2rem;
  text-align: center;
}

.blog-header h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.destinations-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.destinations-tags span {
  padding: 0.3rem 1rem;
  background-color: #f5f5f5;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.destinations-tags span:hover {
  background-color: #6c5ce7;
  color: white;
}

.blog-posts {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.blog-post {
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
}

.post-image {
  height: 150px;
  background-color: #ddd;
}

.post-content {
  padding: 1rem;
}

.post-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.post-content p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.read-more {
  color: #6c5ce7;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 5%;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.1), transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(253, 121, 168, 0.1), transparent 20%);
  animation: footerGlow 10s ease-in-out infinite alternate;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
}

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

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(108, 92, 231, 0.25);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) skewX(15deg);
    opacity: 0;
  }
}

@keyframes skillFill {
  0% {
    width: 0;
    box-shadow: 0 0 0 rgba(108, 92, 231, 0);
  }
  50% {
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
  }
  100% {
    box-shadow: 0 0 5px rgba(108, 92, 231, 0.3);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .preview-hero {
    flex-direction: column;
    height: auto;
    gap: 2rem;
  }

  .preview-text {
    max-width: 100%;
    text-align: center;
  }

  .preview-image {
    width: 100%;
    height: 150px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1001;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 2rem;
  }

  nav ul li a {
    font-size: 1.2rem;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  nav ul li a:hover,
  nav ul li a.active {
    background: var(--gradient);
    color: white;
    transform: translateX(10px);
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
    transition: all 0.3s ease;
  }

  .menu-toggle.active i {
    color: var(--primary-color);
    transform: rotate(90deg);
  }

  .menu-toggle:hover {
    transform: scale(1.2);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .tabs-section h2 {
    font-size: 2rem;
  }

  .tab-pane {
    padding: 1rem;
  }

  .website-preview {
    height: auto;
    min-height: 400px;
    transform: scale(0.95);
    margin: 0 -10px;
  }

  .website-preview:hover {
    transform: scale(1);
  }

  .preview-services {
    flex-direction: column;
    gap: 1rem;
  }

  .service-card {
    width: 100%;
  }

  .intro-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    height: auto;
  }

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

  .about-image {
    order: -1;
  }

  .about-text {
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .tab-header {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
  }

  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

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

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .tab-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .about-text h3 {
    font-size: 1.8rem;
  }

  .about-text h4 {
    font-size: 1.1rem;
  }

  .bio-text {
    font-size: 0.95rem;
  }

  .code-snippet {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .service-card,
  .product,
  .blog-post {
    transform: none !important;
  }

  .website-preview {
    margin: 0;
    transform: scale(0.9);
    max-height: 400px;
  }

  .skill-item {
    margin-bottom: 1rem;
  }

  .skill-label {
    font-size: 0.9rem;
  }

  .specialty-tags {
    gap: 0.6rem;
  }

  .specialty-tags span {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Improve tap targets for mobile */
  .tab-btn,
  .cta-button,
  nav ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .cta-button {
    width: 100%;
  }
}

/* Add landscape mode optimizations */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

  .about-section,
  .tabs-section {
    padding: 4rem 5% 3rem;
  }
}

/* Hacker Theme Styles for My Work Tab */
.hacker-theme {
  background-color: #0d0d0d;
  color: #33ff33;
  font-family: "Consolas", monospace;
  position: relative;
  overflow: hidden;
  --cyber-glow: 0 0 10px rgba(51, 255, 51, 0.7), 0 0 20px rgba(51, 255, 51, 0.4), 0 0 30px rgba(51, 255, 51, 0.1);
  --cyber-accent: #33ff33;
  --cyber-red: #ff3333;
  --cyber-blue: #33ffff;
  --cyber-purple: #9d33ff;
  --cyber-bg: #0d0d0d;
  --cyber-dark: #1a1a1a;
  --cyber-border: 1px solid rgba(51, 255, 51, 0.5);
  --cyber-shadow: 0 0 15px rgba(51, 255, 51, 0.3);
}

/* Advanced code typing effects */
.typing-cursor {
  color: var(--cyber-accent);
  font-weight: bold;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typing-new {
  color: var(--cyber-blue);
  font-weight: bold;
  text-shadow: 0 0 8px var(--cyber-blue);
  position: relative;
}

.keyword {
  color: #569cd6; /* Blue for keywords */
  font-weight: bold;
}

.type {
  color: #4ec9b0; /* Teal for types */
}

.string {
  color: #ce9178; /* Orange for strings */
}

.preprocessor {
  color: #c586c0; /* Purple for preprocessor */
}

.comment {
  color: #6a9955; /* Green for comments */
  font-style: italic;
}

.code-line {
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 0;
  border-radius: 2px;
  white-space: pre;
}

.code-line:hover {
  background-color: rgba(51, 255, 51, 0.05);
  transform: translateX(3px);
}

.hacker-theme::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(51, 255, 51, 0.03), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(51, 255, 51, 0.03), transparent 30%);
  pointer-events: none;
  z-index: 1;
  animation: hackerGlow 15s ease-in-out infinite alternate;
}

@keyframes hackerGlow {
  0% {
    background-position: 0% 0%;
    opacity: 0.3;
  }
  50% {
    background-position: 100% 100%;
    opacity: 0.7;
  }
  100% {
    background-position: 0% 0%;
    opacity: 0.3;
  }
}

.hacker-theme .preview-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #33ff33;
  position: relative;
  overflow: hidden;
}

.hacker-theme .preview-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.1), transparent);
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(50%);
  }
}

.hacker-theme .preview-nav {
  background-color: #1a1a1a;
  color: #33ff33;
  box-shadow: 0 0 20px rgba(51, 255, 51, 0.3);
  position: relative;
  z-index: 5;
  transition: all 0.5s ease;
  border-bottom: 1px solid rgba(51, 255, 51, 0.5);
}

.hacker-theme .preview-nav:hover {
  box-shadow: 0 0 30px rgba(51, 255, 51, 0.5);
}

.hacker-theme .preview-logo {
  font-weight: 700;
  color: #33ff33;
  text-shadow: 0 0 15px rgba(51, 255, 51, 0.9);
  position: relative;
  transition: all 0.3s ease;
  transform-origin: left;
}

.hacker-theme .preview-logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 25px rgba(51, 255, 51, 1);
}

.hacker-theme .preview-nav ul li {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hacker-theme .preview-nav ul li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #33ff33;
  transition: width 0.4s ease;
}

.hacker-theme .preview-nav ul li:hover {
  transform: translateY(-3px);
}

.hacker-theme .preview-nav ul li:hover::before {
  width: 100%;
  box-shadow: 0 0 10px rgba(51, 255, 51, 0.7);
}

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

.blink {
  animation: blink 1s steps(1) infinite;
}

/* Matrix digital rain effect */
.hacker-theme::after {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background: linear-gradient(0deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0.9) 20%, rgba(13, 13, 13, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.hacker-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  height: calc(100% - 60px);
  overflow-y: auto;
}

.terminal-window {
  width: 100%;
  height: 300px;
  background-color: #0a0a0a;
  border-radius: 6px;
  border: 1px solid #33ff33;
  box-shadow: 0 0 20px rgba(51, 255, 51, 0.2);
  overflow: hidden;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(51, 255, 51, 0.4);
  }
}

.terminal-header {
  background-color: #1a1a1a;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #33ff33;
}

.terminal-controls {
  display: flex;
  gap: 6px;
}

.terminal-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8px;
  color: #0a0a0a;
  cursor: pointer;
}

.terminal-controls span:nth-child(1) {
  background-color: #ff605c;
}

.terminal-controls span:nth-child(2) {
  background-color: #ffbd44;
}

.terminal-controls span:nth-child(3) {
  background-color: #00ca4e;
}

.terminal-content {
  padding: 12px;
  height: calc(100% - 40px);
  overflow: auto;
}

.typing-code {
  white-space: pre;
  word-wrap: normal;
  overflow-x: auto;
}

.typing-code pre {
  margin: 0;
}

.cpp-code,
.c-code {
  color: #33ff33;
  display: block;
  animation: typing 4s steps(40);
}

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

.visualizations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.visualization-item {
  background-color: #111;
  border: 1px solid #33ff33;
  border-radius: 6px;
  overflow: hidden;
  height: 200px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(51, 255, 51, 0.1);
  position: relative;
}

.visualization-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(51, 255, 51, 0.3);
}

.visualization-header {
  background-color: #1a1a1a;
  padding: 8px 12px;
  font-weight: 600;
  border-bottom: 1px solid #33ff33;
}

.memory-blocks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  height: calc(100% - 40px);
  overflow: auto;
  position: relative;
}

.memory-blocks::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.05), transparent);
  animation: memoryGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes memoryGlow {
  0%,
  100% {
    background-position: -100% 0;
  }
  50% {
    background-position: 200% 0;
  }
}

.memory-block {
  height: 28px;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInRight 0.5s forwards;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 5px rgba(51, 255, 51, 0.2);
  z-index: 5;
}

.memory-block::after {
  content: attr(data-info);
  position: absolute;
  right: 10px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(51, 255, 51, 0.7);
}

.memory-block:hover {
  transform: translateX(10px) scale(1.03);
  box-shadow: 0 0 15px rgba(51, 255, 51, 0.7);
}

.memory-block:hover::after {
  opacity: 1;
  transform: translateX(0);
}

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

.memory-address {
  font-family: "Consolas", monospace;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
  transition: all 0.3s ease;
}

.memory-block:hover .memory-address {
  transform: scale(1.05);
  text-shadow: 0 0 8px rgba(51, 255, 51, 0.8);
}

.memory-block.code {
  background-color: rgba(0, 100, 255, 0.15);
  border-left: 3px solid #00aaff;
  animation-delay: 0.1s;
}

.memory-block.code:hover {
  background-color: rgba(0, 100, 255, 0.25);
}

.memory-block.data {
  background-color: rgba(255, 100, 0, 0.15);
  border-left: 3px solid #ff6400;
  animation-delay: 0.2s;
}

.memory-block.data:hover {
  background-color: rgba(255, 100, 0, 0.25);
}

.memory-block.bss {
  background-color: rgba(100, 200, 0, 0.15);
  border-left: 3px solid #64c800;
  animation-delay: 0.3s;
}

.memory-block.bss:hover {
  background-color: rgba(100, 200, 0, 0.25);
}

.memory-block.stack {
  background-color: rgba(200, 0, 200, 0.15);
  border-left: 3px solid #c800c8;
  animation-delay: 0.4s;
}

.memory-block.stack:hover {
  background-color: rgba(200, 0, 200, 0.25);
}

.memory-block.heap {
  background-color: rgba(200, 200, 0, 0.15);
  border-left: 3px solid #c8c800;
  animation-delay: 0.5s;
}

.memory-block.heap:hover {
  background-color: rgba(200, 200, 0, 0.25);
}

.memory-block.vulnerability {
  background-color: rgba(255, 0, 0, 0.15);
  border-left: 3px solid #ff0000;
  animation-delay: 0.6s;
  position: relative;
  overflow: hidden;
}

.memory-block.vulnerability:hover {
  background-color: rgba(255, 0, 0, 0.25);
}

.memory-block.vulnerability::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
  transform: translateX(-100%);
  animation: vulnerabilityScan 3s ease-in-out infinite;
  pointer-events: none;
}

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

.memory-block.highlighted {
  animation: alertPulse 1.5s infinite alternate;
  z-index: 10;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

@keyframes alertPulse {
  0% {
    background-color: rgba(255, 0, 0, 0.2);
    transform: scale(1);
  }
  100% {
    background-color: rgba(255, 0, 0, 0.5);
    transform: scale(1.03);
  }
}

.exploit-code {
  padding: 10px;
  height: calc(100% - 40px);
  overflow: auto;
  position: relative;
}

.exploit-code::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 20px,
    rgba(51, 255, 51, 0.03) 20px,
    rgba(51, 255, 51, 0.03) 22px
  );
  pointer-events: none;
  animation: scanCode 10s linear infinite;
}

@keyframes scanCode {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 100px;
  }
}

.exploit-code code {
  position: relative;
  z-index: 5;
  text-shadow: 0 0 8px rgba(51, 255, 51, 0.4);
}

.exploit-code:hover code {
  text-shadow: 0 0 12px rgba(51, 255, 51, 0.7);
  transition: all 0.3s ease;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  position: relative;
}

.projects-showcase::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.5), transparent);
}

.project-card {
  background-color: rgba(17, 17, 17, 0.8);
  border: 1px solid #33ff33;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(51, 255, 51, 0.1);
  backdrop-filter: blur(5px);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #33ff33, transparent);
  transition: all 0.5s ease;
  opacity: 0;
  z-index: 3;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(51, 255, 51, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
  animation: borderGlow 2s ease-in-out infinite;
}

.project-card:hover::after {
  opacity: 1;
  animation: cardGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(51, 255, 51, 0.8);
  }
}

@keyframes cardGlow {
  0% {
    opacity: 0.3;
    background-position: 0% 0%;
  }
  100% {
    opacity: 1;
    background-position: 100% 100%;
  }
}

.project-card.encryption {
  animation-delay: 0.1s;
}

.project-card.network {
  animation-delay: 0.3s;
}

.project-card.malware {
  animation-delay: 0.5s;
}

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

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(51, 255, 51, 0.4);
  border-color: rgba(51, 255, 51, 0.8);
}

.project-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: #33ff33;
  text-shadow: 0 0 10px rgba(51, 255, 51, 0.7);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.project-card:hover .project-icon {
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(51, 255, 51, 1);
}

.project-info {
  position: relative;
  z-index: 2;
}

.project-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #33ff33;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

.project-card:hover .project-info h3 {
  text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.project-description p {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.project-card:hover .project-description p {
  opacity: 1;
}

.tech-used {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-used span {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(51, 255, 51, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(51, 255, 51, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-used span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.2), transparent);
  transition: all 0.5s ease;
}

.project-card:hover .tech-used span::before {
  left: 100%;
  transition: all 0.5s ease;
}

.project-card:hover .tech-used span {
  background: rgba(51, 255, 51, 0.15);
  border-color: rgba(51, 255, 51, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 0 5px rgba(51, 255, 51, 0.3);
}

.binary-visualizer {
  margin-top: 15px;
  background-color: #111;
  border: 1px solid #33ff33;
  border-radius: 6px;
  overflow: hidden;
}

.binary-header {
  background-color: #1a1a1a;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #33ff33;
}

.binary-header h3 {
  font-size: 16px;
  margin: 0;
}

.analysis-controls {
  display: flex;
  gap: 10px;
}

.control-btn {
  background-color: #222;
  color: #33ff33;
  border: 1px solid #33ff33;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background-color: #33ff33;
  color: #000;
}

.binary-display {
  padding: 10px;
  height: 120px;
  overflow: auto;
}

.hex-view {
  display: flex;
  font-family: "Consolas", monospace;
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hex-view.active {
  opacity: 1;
  background-color: rgba(51, 255, 51, 0.05);
  border-radius: 4px;
}

.hex-address {
  width: 100px;
  color: #888;
}

.hex-bytes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 300px;
}

.hex-bytes span {
  width: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.hex-bytes span.highlighted {
  color: #ff3333;
  animation: bytePulse 1s infinite alternate;
}

@keyframes bytePulse {
  from {
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
  }
  to {
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
  }
}

.hex-ascii {
  margin-left: 20px;
  color: #666;
}

/* Responsive adjustments for hacker theme */
@media (max-width: 1024px) {
  .visualizations {
    grid-template-columns: 1fr;
  }

  .projects-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .terminal-window {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hacker-dashboard {
    gap: 15px;
    padding: 15px;
  }

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

  .terminal-window {
    height: 230px;
  }

  .visualization-item {
    height: 180px;
  }

  .project-card {
    padding: 15px;
  }

  .project-card:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .binary-visualizer {
    margin-top: 10px;
  }

  .memory-block {
    padding: 4px 8px;
    font-size: 11px;
  }

  .memory-address {
    font-size: 10px;
  }

  .tech-used span {
    font-size: 10px;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .terminal-window {
    height: 200px;
  }

  .terminal-content {
    padding: 8px;
    font-size: 11px;
  }

  .typing-code pre {
    font-size: 10px;
  }

  .hex-bytes {
    width: 180px;
    font-size: 10px;
    gap: 4px;
  }

  .binary-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
  }

  .analysis-controls {
    width: 100%;
    justify-content: space-between;
  }

  .control-btn {
    padding: 3px 6px;
    font-size: 10px;
  }

  .hacker-dashboard {
    padding: 10px;
    gap: 10px;
  }

  .visualization-item {
    height: 160px;
  }

  .exploit-code {
    font-size: 10px;
  }

  .project-info h3 {
    font-size: 14px;
  }

  .project-description p {
    font-size: 11px;
  }

  /* Improve tap targets on mobile */
  .memory-block,
  .project-card,
  .control-btn {
    min-height: 44px;
  }

  /* Fix scrolling issues on small screens */
  .hacker-dashboard {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Set initial state for scroll animations */
.service-card,
.website-preview,
.website-info,
.tab-btn,
.hero-content,
.tabs-section h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

/* Section highlight animation */
@keyframes sectionHighlight {
  0% {
    box-shadow: 0 0 0 rgba(108, 92, 231, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
  }
  100% {
    box-shadow: 0 0 0 rgba(108, 92, 231, 0);
  }
}

.highlight-section {
  animation: sectionHighlight 1s ease-in-out;
}

/* Custom cursor styles removed */

.animate-in {
  animation: fadeUp 0.8s forwards;
}

/* Adding staggered animations for child elements */
.animate-in:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-in:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-in:nth-child(3) {
  animation-delay: 0.3s;
}
.animate-in:nth-child(4) {
  animation-delay: 0.4s;
}
.animate-in:nth-child(5) {
  animation-delay: 0.5s;
}

/* Additional hover effects */
.tab-btn,
.cta-button,
.service-card,
.social-links a {
  transition: all 0.3s ease;
}

.tab-btn:hover,
.cta-button:hover,
.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(108, 92, 231, 0.25);
}

/* 3D tilt effect for cards */
.service-card,
.product,
.blog-post {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover,
.product:hover,
.blog-post:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.05), -20px -20px 30px rgba(255, 255, 255, 0.1), 0 15px 30px
    rgba(108, 92, 231, 0.25);
}

.portfolio .intro-text h3 {
  margin-bottom: 1rem;
}
.portfolio .intro-text p {
  color: white;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.portfolio .typing-indicator {
  border-left: 2px solid var(--secondary-color);
  height: 20px;
  margin-top: 10px;
  padding-left: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.portfolio .typing-text {
  color: #ddd;
  font-size: 0.9rem;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  animation: typing 4s steps(40) forwards 1s, blinkCursor 0.8s step-end infinite alternate;
}

@keyframes typing {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes blinkCursor {
  from,
  to {
    border-left-color: transparent;
  }
  50% {
    border-left-color: var(--secondary-color);
  }
}
.portfolio .intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.portfolio .intro-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #333;
  border: 5px solid #fd79a8;
}
.portfolio .intro-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.portfolio .intro-text h2 span {
  color: #fd79a8;
}
.portfolio .intro-text h3 {
  color: white;
  font-size: 1.2rem;
}
.portfolio .skills-section {
  padding: 2rem;
  background-color: #222;
  color: white;
}
.portfolio .skill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.portfolio .skill-bar {
  width: 80%;
  height: 8px;
  background-color: #444;
  border-radius: 4px;
  overflow: hidden;
}
.portfolio .skill-level {
  height: 100%;
  background: linear-gradient(to right, #6c5ce7, #fd79a8);
  border-radius: 4px;
  animation: skillFill 2s ease forwards;
}
.portfolio .skill p {
  font-size: 0.9rem;
  color: white;
}

