/* Base Styles */
:root {
  /* Light Theme Colors */
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --text-color: #2d3436;
  --text-light: #636e72;
  --bg-color: #ffffff;
  --bg-light: #f5f6fa;
  --bg-dark: #dfe6e9;
  --border-color: #e1e1e1;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --gradient-1: linear-gradient(45deg, #6c5ce7, #a29bfe);
  --gradient-2: linear-gradient(45deg, #fd79a8, #e84393);
  --gradient-3: linear-gradient(45deg, #00cec9, #81ecec);

  /* Common Variables */
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #7e8a8f;
}

::-webkit-scrollbar-thumb {
  background: #6c5ce7;
}

::-webkit-scrollbar-thumb:hover {
  background: #fd79a8;
}

.dark-mode {
  /* Dark Theme Colors */
  --primary-color: #a29bfe;
  --secondary-color: #6c5ce7;
  --accent-color: #fd79a8;
  --text-color: #f5f6fa;
  --text-light: #dfe6e9;
  --bg-color: #2d3436;
  --bg-light: #353b48;
  --bg-dark: #1e272e;
  --border-color: #3d3d3d;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-bg: #353b48;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.gradient-text::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translate(5px, 5px);
  opacity: 0.3;
}

.underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.underline::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 4px;
  background: var(--gradient-2);
  top: 0;
  left: 0;
  animation: slide 2s infinite;
  border-radius: 2px;
}

@keyframes slide {
  0% {
    left: 0;
  }
  50% {
    left: 40px;
  }
  100% {
    left: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.primary-btn {
  background: var(--gradient-1);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4);
}

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

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4);
}

.btn-text {
  position: relative;
  z-index: 2;
  margin-right: 10px;
}

.btn-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

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

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

.btn-glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--primary-color);
  }
  100% {
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--accent-color);
  }
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 30px;
  right: 20px;
  width: 60px;
  height: 30px;
  background-color: var(--bg-light);
  border-radius: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  padding: 5px;
}

.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.theme-toggle-thumb {
  position: absolute;
  left: 2px;
  width: 26px;
  height: 26px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-mode .theme-toggle-thumb {
  transform: translateX(30px);
}

.theme-toggle i {
  color: var(--text-color);
  font-size: 0.8rem;
  z-index: 1;
}

.fa-sun {
  opacity: 0;
}

.dark-mode .fa-moon {
  opacity: 0;
}

.dark-mode .fa-sun {
  opacity: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 99;
  transition: var(--transition);
}

.dark-mode header {
  background-color: rgba(45, 52, 54, 0.95);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

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

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover span,
.nav-link.active span {
  transform: translateY(-5px);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-btn__burger {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu-btn__burger::before {
  transform: translateY(-10px);
}

.menu-btn__burger::after {
  transform: translateY(10px);
}

.menu-btn.open .menu-btn__burger {
  background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
  transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
  transform: rotate(-45deg);
}

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

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

.text-content {
  flex: 1;
  padding-right: 30px;
}

.text-content h4 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.text-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
  position: relative;
}

.glitch-effect {
  position: relative;
}

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

.glitch-effect::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-color);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-effect::after {
  left: -2px;
  text-shadow: -2px 0 var(--secondary-color);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(25px, 9999px, 39px, 0);
  }
  10% {
    clip: rect(91px, 9999px, 7px, 0);
  }
  20% {
    clip: rect(54px, 9999px, 65px, 0);
  }
  30% {
    clip: rect(5px, 9999px, 67px, 0);
  }
  40% {
    clip: rect(82px, 9999px, 26px, 0);
  }
  50% {
    clip: rect(46px, 9999px, 14px, 0);
  }
  60% {
    clip: rect(64px, 9999px, 93px, 0);
  }
  70% {
    clip: rect(21px, 9999px, 5px, 0);
  }
  80% {
    clip: rect(72px, 9999px, 53px, 0);
  }
  90% {
    clip: rect(18px, 9999px, 38px, 0);
  }
  100% {
    clip: rect(10px, 9999px, 96px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(63px, 9999px, 91px, 0);
  }
  10% {
    clip: rect(34px, 9999px, 10px, 0);
  }
  20% {
    clip: rect(89px, 9999px, 30px, 0);
  }
  30% {
    clip: rect(41px, 9999px, 72px, 0);
  }
  40% {
    clip: rect(9px, 9999px, 48px, 0);
  }
  50% {
    clip: rect(86px, 9999px, 21px, 0);
  }
  60% {
    clip: rect(25px, 9999px, 84px, 0);
  }
  70% {
    clip: rect(56px, 9999px, 18px, 0);
  }
  80% {
    clip: rect(3px, 9999px, 91px, 0);
  }
  90% {
    clip: rect(79px, 9999px, 42px, 0);
  }
  100% {
    clip: rect(27px, 9999px, 5px, 0);
  }
}

.animated-text-container {
  height: 50px;
  margin-bottom: 20px;
  overflow: hidden;
}

.typing-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-light);
  display: inline-block;
  position: relative;
}

.typing-text::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: var(--primary-color);
  animation: blink 0.7s infinite;
}

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

.text-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-buttons {
  margin-bottom: 30px;
}

.cta-buttons .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: -1;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.social-icon:hover::before {
  transform: scale(1);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.image-container {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.image-bg-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-1);
  z-index: -1;
  animation: pulse-slow 3s infinite alternate;
}

.image-bg-dots {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: -2;
  opacity: 0.3;
  animation: rotate 30s linear infinite;
}

@keyframes pulse-slow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-container:hover .profile-img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(108, 92, 231, 0.8),
    rgba(253, 121, 168, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.overlay-icons {
  display: flex;
  gap: 15px;
}

.overlay-icons i {
  font-size: 2rem;
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.image-container:hover .overlay-icons i {
  transform: translateY(0);
  opacity: 1;
}

.image-container:hover .overlay-icons i:nth-child(1) {
  transition-delay: 0.1s;
}

.image-container:hover .overlay-icons i:nth-child(2) {
  transition-delay: 0.2s;
}

.image-container:hover .overlay-icons i:nth-child(3) {
  transition-delay: 0.3s;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel 1.5s infinite;
}

@keyframes wheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

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

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: rotate(45deg);
  margin: -5px;
  animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

.hero-shapes .shape {
  position: absolute;
  z-index: -1;
  opacity: 0.3;
}

.hero-shapes .shape-1 {
  top: 20%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-2 {
  top: 60%;
  left: 15%;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-3 {
  top: 30%;
  right: 10%;
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 5px;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}

.hero-shapes .shape-4 {
  bottom: 20%;
  right: 15%;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.image-frame {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 30px var(--shadow-color);
  transition: transform 0.5s ease;
}

.image-frame img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

.image-frame:hover {
  transform: scale(1.03);
}

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

.image-effects {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.effect-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.effect-circle:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 20%;
}

.effect-circle:nth-child(2) {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 20%;
}

.effect-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 10%;
  left: 10%;
}

.image-frame:hover .effect-circle {
  transform: scale(1);
}

.image-frame:hover .effect-circle:nth-child(1) {
  transition-delay: 0.1s;
}

.image-frame:hover .effect-circle:nth-child(2) {
  transition-delay: 0.2s;
}

.image-frame:hover .effect-circle:nth-child(3) {
  transition-delay: 0.3s;
}

.about-text {
  flex: 1;
}

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

.about-text p {
  margin-bottom: 20px;
}

.personal-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--primary-color);
  transition: var(--transition);
}

.info-item:hover .info-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(360deg);
}

.info-text span {
  font-weight: 600;
  color: var(--primary-color);
}

/* Experience Section */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
}

.experience-card {
  display: flex;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.experience-icon {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gradient-1);
  color: white;
  font-size: 1.8rem;
}

.experience-content {
  flex: 1;
  padding: 20px;
  position: relative;
}

.experience-date {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 500;
}

.experience-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 15px 0 5px;
  padding-right: 100px;
}

.experience-content h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.experience-content ul {
  margin-left: 5px;
}

.experience-content ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.experience-content ul li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 0;
  top: 8px;
}

/* Projects Section */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  margin: 0 10px 10px;
  background: var(--bg-light);
  border: none;
  border-radius: 30px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 5px 15px var(--shadow-color);
}

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

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(108, 92, 231, 0.8),
    rgba(253, 121, 168, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

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

.project-link {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease, background-color 0.3s ease,
    color 0.3s ease;
}
.project-link-btn {
  margin-top: 10px;
}
.project-link-btn i {
  margin-left: 10px;
}

.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-link:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
  transition-delay: 0.2s;
}

.project-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.project-info p {
  margin-bottom: 15px;
  color: var(--text-light);
}

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

.project-tags span {
  padding: 5px 12px;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

/* Education Section */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--gradient-1);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  z-index: -1;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -20px;
}
/*  */
.timeline-content {
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.timeline-content h5 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Skills Section */
.skills-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-item span {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.skill-progress {
  height: 10px;
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
  position: relative;
}

.progress-value {
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.soft-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.soft-skill {
  padding: 10px 20px;
  background-color: var(--bg-light);
  border-radius: 30px;
  color: var(--primary-color);
  font-weight: 500;
  box-shadow: 0 5px 10px var(--shadow-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.soft-skill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.soft-skill:hover {
  transform: translateY(-5px) scale(1.05);
  color: white;
}

.soft-skill:hover::before {
  transform: translateY(0);
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item .icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-item:hover .icon {
  transform: rotate(360deg);
}

.contact-item .text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-form {
  flex: 1;
}

.form-static {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
  width: 100%;
}

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

.contact-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.contact-shapes .shape {
  position: absolute;
  opacity: 0.1;
}

.contact-shapes .shape-1 {
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.contact-shapes .shape-2 {
  bottom: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  transform: rotate(45deg);
  animation: float 9s ease-in-out infinite;
}

.contact-shapes .shape-3 {
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: var(--secondary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 10s ease-in-out infinite;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  margin-bottom: 20px;
}

.footer-social a {
  margin: 0 10px;
}

.footer-copyright p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Responsive Design */
@media (max-width: 1350px) {
  .theme-toggle {
    right: 20px;
    top: 10px;
  }
  header .container {
    padding-top: 30px;
  }
}
@media (max-width: 992px) {
  .hero {
    min-height: 110vh;
    align-items: baseline;
  }
  .hero-content {
    flex-direction: column-reverse;
    padding: 10px 0;
    text-align: center;
  }
  .scroll-down {
    display: none;
  }
  .text-content {
    padding-right: 0;
    margin-top: 50px;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
  }

  .social-icons {
    justify-content: center;
  }

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

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
  }

  .menu-btn {
    display: block;
  }

  header .container {
    padding-top: 20px;
  }
  .theme-toggle {
    right: 60px;
    top: 30px;
  }
  .section-padding {
    padding: 70px 0;
  }

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

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

  .skill-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .image-container {
    width: 250px;
    height: 250px;
  }

  .personal-info {
    grid-template-columns: 1fr;
  }

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