/* fontt nih yaaa */
@import url("https://fonts.googleapis.com/css2?family=Allan:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/* end fonttt */

/* Base Styles */
:root {
  --primary-color: #06b6d4; /* Cyan */
  --secondary-color: #a855f7; /* Purple */
  --dark-bg: #0f172a;
  --darker-bg: #0a0f1c;
  --light-text: #f1f5f9;
  --gray-text: #94a3b8;
  --dark-card: rgba(15, 23, 42, 0.5);
  --border-color: rgba(6, 182, 212, 0.3);
  --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --transition: all 0.3s ease;
  --shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.1), 0 4px 6px -2px rgba(6, 182, 212, 0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(to bottom right, var(--dark-bg), var(--darker-bg));
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

/* Cyberpunk Grid Background */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
}

.grid-vertical {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to right, var(--primary-color), var(--primary-color) 1px, transparent 1px, transparent calc(100% / 12));
}

.grid-horizontal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, var(--primary-color), var(--primary-color) 1px, transparent 1px, transparent calc(100% / 12));
}

/* bagian loadingg */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000; /* background gelap cyberpunk */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  letter-spacing: 1.3rem;
  transition: opacity 4.8s ease, visibility 4.8s ease; /* biar bisa fade-out */
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.glitch {
  font-family: "Allan", serrif;
  font-size: 2rem;
  color: #00ffbf; /* neon cyan */
  position: relative;
  text-transform: uppercase;
  animation: flicker 0.5s infinite;
}

/* Efek glitch */
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: #001eff; /* pink neon */
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.glitch::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
}

.glitch::after {
  color: #00ffff; /* cyan neon */
  animation: glitchBottom 1s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  20% {
    clip: rect(0, 9999px, 10px, 0);
    transform: translate(-5px, -5px);
  }
  40% {
    clip: rect(0, 9999px, 5px, 0);
    transform: translate(5px, 5px);
  }
  60% {
    clip: rect(0, 9999px, 15px, 0);
    transform: translate(-3px, 3px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}

@keyframes glitchBottom {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  20% {
    clip: rect(10px, 9999px, 20px, 0);
    transform: translate(5px, 5px);
  }
  40% {
    clip: rect(5px, 9999px, 15px, 0);
    transform: translate(-5px, -5px);
  }
  60% {
    clip: rect(15px, 9999px, 25px, 0);
    transform: translate(3px, -3px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0, 0);
  }
}

@keyframes flicker {
  0%,
  19%,
  21%,
  23%,
  25%,
  54%,
  56%,
  100% {
    opacity: 1;
  }
  20%,
  24%,
  55% {
    opacity: 0.4;
  }
}

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

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--gray-text);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
  color: var(--light-text);
}

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

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--primary-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-size: 26px;
  font-weight: bold;
  font-family: "Orbitron", sans-serif; /* biar lebih cyberpunk */
  color: #edcbc8;
  text-transform: uppercase;
  animation: floatSpin 6s ease-in-out infinite, glowPulse 5s infinite;
  position: relative;
  letter-spacing: 2px;
  z-index: 1;
  mix-blend-mode: screen;
  text-shadow: 0 0 2px #0ff, 0 0 4px #0ff, 0 0 6px rgb(169, 255, 164), 0 0 10px #00e0ff;
}

.logo span {
  color: #aaff00;
  animation: glitch 1.5s infinite;
  position: relative;
  display: inline-block;
}

/* Gerak pelan2 + spin */
@keyframes floatSpin {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Glowing effect */
@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
  }
  50% {
    text-shadow: 0 0 10px #0ff, 0 0 30px #00e0ff, 0 0 50px #00e0ff;
  }
}

/* Efek glitch untuk span */
@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(1px, -1px);
  }
  60% {
    transform: translate(-1px, -1px);
  }
  80% {
    transform: translate(1px, 1px);
  }
  100% {
    transform: translate(0);
  }
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--gray-text);
  transition: var(--transition);
  position: relative;
}

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

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gray-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--gray-text);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary-color);
  background: rgba(6, 182, 212, 0.1);
}

/* Section Styles */
section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

section:nth-child(even) {
  background: rgba(15, 23, 42, 0.5);
}

/* Cyber Section Header Animation */
.cyber-header {
  position: relative;
  margin-bottom: 70px;
  text-align: center;
}

.glitch-container {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.cyber-glitch-title {
  position: relative;
  font-family: var(--font-secondary, "Orbitron", sans-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color, #e6e6fa);
  text-transform: uppercase;
  letter-spacing: 5px;
  padding: 0 10px;
  z-index: 1;
}

.cyber-glitch-title::before,
.cyber-glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color, #1f1f79);
  opacity: 0.8;
}

.cyber-glitch-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--secondary-color, #00b4d8);
  clip: rect(24px, 550px, 90px, 0);
  animation: cyber-glitch-anim-1 3s infinite linear alternate-reverse;
}

.cyber-glitch-title::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent-color, #ff7eee);
  clip: rect(85px, 550px, 140px, 0);
  animation: cyber-glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes cyber-glitch-anim-1 {
  0% {
    clip: rect(24px, 550px, 90px, 0);
  }
  20% {
    clip: rect(62px, 550px, 130px, 0);
  }
  40% {
    clip: rect(58px, 550px, 14px, 0);
  }
  60% {
    clip: rect(91px, 550px, 46px, 0);
  }
  80% {
    clip: rect(24px, 550px, 42px, 0);
  }
  100% {
    clip: rect(5px, 550px, 80px, 0);
  }
}

@keyframes cyber-glitch-anim-2 {
  0% {
    clip: rect(85px, 550px, 140px, 0);
  }
  20% {
    clip: rect(24px, 550px, 16px, 0);
  }
  40% {
    clip: rect(12px, 550px, 94px, 0);
  }
  60% {
    clip: rect(54px, 550px, 98px, 0);
  }
  80% {
    clip: rect(79px, 550px, 10px, 0);
  }
  100% {
    clip: rect(29px, 550px, 130px, 0);
  }
}

.cyber-lines {
  position: relative;
  height: 4px;
  width: 150px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color, #8a2be2) 30%, var(--secondary-color, #00b4d8) 70%, transparent 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary-color, #8a2be2), 0 0 20px var(--secondary-color, #00b4d8);
  animation: cyber-line-glow 2s infinite alternate;
}

.cyber-lines::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
  animation: cyber-line-slide 3s infinite;
}

.cyber-lines span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color, #ff7eee);
  box-shadow: 0 0 10px var(--accent-color, #ff7eee), 0 0 20px var(--accent-color, #ff7eee);
}

.cyber-lines span:nth-child(1) {
  left: 0;
  top: -3px;
  animation: cyber-dot-move-1 4s infinite alternate;
}

.cyber-lines span:nth-child(2) {
  right: 0;
  top: -3px;
  animation: cyber-dot-move-2 4s infinite alternate;
}

@keyframes cyber-line-glow {
  0% {
    box-shadow: 0 0 5px var(--primary-color, #8a2be2), 0 0 10px var(--secondary-color, #00b4d8);
  }
  100% {
    box-shadow: 0 0 15px var(--primary-color, #8a2be2), 0 0 30px var(--secondary-color, #00b4d8);
  }
}

@keyframes cyber-line-slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes cyber-dot-move-1 {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(140px);
  }
}

@keyframes cyber-dot-move-2 {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-140px);
  }
}

/* Tambahkan efek hover */
.cyber-header:hover .cyber-glitch-title {
  text-shadow: 0 0 10px var(--primary-color, #8a2be2), 0 0 20px var(--secondary-color, #00b4d8);
  transition: text-shadow 0.3s ease;
}

.cyber-header:hover .cyber-lines {
  width: 200px;
  transition: width 0.5s ease;
}

.section-divider {
  width: 6rem;
  height: 4px;
  background: var(--gradient);
  margin: 0 auto;
}

/* Home Section */
.home-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

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

.home-text {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem; /* biar lebih keliatan */
  font-weight: bold;
  animation: neon 9s infinite linear;
}

/* animasi warna */
@keyframes neon {
  0% {
    color: #feae3ebb;
  } /* merah */
  25% {
    color: #00ff00;
  } /* hijau */
  50% {
    color: #0091ff;
  } /* biru */
  75% {
    color: #ff00ff;
  } /* ungu */
  100% {
    color: #00ffc8;
  } /* balik lagi merah */
}

.welcome-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out forwards;
}

.home-text h1 {
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.home-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.home-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.home-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

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

.profile-image-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(30px);
}

.profile-image-inner {
  position: absolute;
  inset: 16px;
  background: var(--dark-bg);
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.profile-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.glow-effect {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(20px);
  animation: pulse 3s ease-in-out infinite;
}

.glow-1 {
  top: -20px;
  right: -20px;
}

.glow-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 1.5s;
}

.glow-3 {
  bottom: -30px;
  right: -30px;
}

/* About Section */
/* About Section Styles */
#about {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background-color: var(--background-color, #0a0a1a);
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.glitch-title-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.about-title {
  font-family: var(--font-secondary, "Orbitron", sans-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color, #14b68d);
  text-transform: uppercase;
  letter-spacing: 5px;
  position: relative;
}

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

.about-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--secondary-color, #00b4d8);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.about-title::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent-color, #ff7eee);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(24px, 550px, 90px, 0);
  }
  20% {
    clip: rect(62px, 550px, 130px, 0);
  }
  40% {
    clip: rect(58px, 550px, 14px, 0);
  }
  60% {
    clip: rect(91px, 550px, 46px, 0);
  }
  80% {
    clip: rect(24px, 550px, 42px, 0);
  }
  100% {
    clip: rect(5px, 550px, 80px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(85px, 550px, 140px, 0);
  }
  20% {
    clip: rect(24px, 550px, 16px, 0);
  }
  40% {
    clip: rect(12px, 550px, 94px, 0);
  }
  60% {
    clip: rect(54px, 550px, 98px, 0);
  }
  80% {
    clip: rect(79px, 550px, 10px, 0);
  }
  100% {
    clip: rect(29px, 550px, 130px, 0);
  }
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary, #b8b8d4);
  margin-bottom: 30px;
  height: 24px;
}

.typed-text {
  font-weight: 500;
  color: var(--primary-color, #8a2be2);
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-color, #ff7eee);
  animation: blink 1s infinite;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.about-image-container {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 125%; /* 4:5 aspect ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transform: translateZ(0);
  transition: transform 0.5s;
}

.image-glitch-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.2) 0%, rgba(0, 180, 216, 0.2) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.image-glitch-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: glitch-scan 3s ease-in-out infinite;
}

@keyframes glitch-scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.tech-tag {
  padding: 8px 16px;
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color, #e6e6fa);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--primary-color, #8a2be2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* text atas berubah warna TI */
.typing-text {
  font-weight: bold;
  display: inline-block;
  border-right: 2px solid #f31111; /* efek cursor */
  white-space: nowrap;
  overflow: hidden;
}

/* Animasi ganti warna */
@keyframes colorChange {
  0% {
    color: #47ffc5;
  }
  25% {
    color: #1e90ff;
  }
  50% {
    color: #2ed573;
  }
  75% {
    color: #ffa502;
  }
  100% {
    color: #bb47ff;
  }
}

.typing-text {
  animation: colorChange 8s infinite linear;
}

.about-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-wrapper {
  opacity: 0;
}

.about-heading {
  font-family: var(--font-secondary, "Orbitron", sans-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color, #8a2be2);
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.about-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 25px;
  background: var(--primary-gradient, linear-gradient(to bottom, #8a2be2, #00b4d8));
  border-radius: 2px;
}

.about-paragraph {
  color: var(--text-secondary, #b8b8d4);
  margin-bottom: 25px;
  line-height: 1.8;
  font-size: 1rem;
}

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

.info-item {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}

.info-label {
  font-weight: 600;
  color: var(--text-color, #e6e6fa);
  margin-right: 10px;
  min-width: 100px;
}

.info-value {
  color: var(--text-secondary, #b8b8d4);
}

.experience-bars {
  margin: 30px 0;
}

.experience-item {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-20px);
}

.experience-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-color, #e6e6fa);
}

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

.progress-fill {
  height: 100%;
  width: 0; /* Will be set by GSAP */
  background: var(--primary-gradient, linear-gradient(to right, #8a2be2, #00b4d8));
  border-radius: 4px;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: progress-shine 2s infinite linear;
}

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

.about-cta {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.download-cv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: var(--primary-gradient, linear-gradient(to right, #8a2be2, #00b4d8));
  color: var(--text-color, #e6e6fa);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.download-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

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

.download-cv:hover::before {
  left: 100%;
}

.download-cv svg {
  transition: transform 0.3s ease;
}

.download-cv:hover svg {
  transform: translateY(3px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

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

@media screen and (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }

  .about-heading {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  #about {
    padding: 80px 0;
  }

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

  .tech-tags {
    justify-content: flex-start;
  }
}
/* End About */

/* Skills Section - Updated */
/* Skills Section Styles */
.skills-section {
  padding: 100px 0;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  z-index: 0;
}

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

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

.section-title2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title2::before {
  content: attr(data-text);
  position: absolute;
  top: -5px;
  left: -5px;
  color: rgba(138, 43, 226, 0.3);
  z-index: -1;
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #8a2be2, #00b4d8);
  margin: 0 auto;
  border-radius: 2px;
}

.skills-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.skills-intro p {
  font-size: 1.1rem;
  color: #b8b8d4;
  line-height: 1.6;
}

/* Skills Container */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.skills-category {
  background: rgba(26, 26, 46, 0.7);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.category-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8a2be2, #00b4d8);
  border-radius: 12px;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.category-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.category-header h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  opacity: 0;
  transform: translateY(20px);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #e6e6fa;
}

.skill-name i {
  font-size: 1.2rem;
  color: #8a2be2;
}

.skill-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00b4d8;
}

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

.skill-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  position: relative;
}

.skill-progress-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite linear;
}

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

/* Skill Progress Fill Colors */
.skill-progress-fill.html {
  background: linear-gradient(90deg, #e34c26, #f06529);
}
.skill-progress-fill.css {
  background: linear-gradient(90deg, #264de4, #2965f1);
}
.skill-progress-fill.js {
  background: linear-gradient(90deg, #f0db4f, #f7df1e);
}
.skill-progress-fill.react {
  background: linear-gradient(90deg, #61dafb, #00d8ff);
}
.skill-progress-fill.node {
  background: linear-gradient(90deg, #3c873a, #68a063);
}
.skill-progress-fill.php {
  background: linear-gradient(90deg, #777bb3, #8892bf);
}
.skill-progress-fill.mysql {
  background: linear-gradient(90deg, #00618a, #0082c0);
}
.skill-progress-fill.python {
  background: linear-gradient(90deg, #306998, #4b8bbe);
}
.skill-progress-fill.figma {
  background: linear-gradient(90deg, #f24e1e, #ff7262);
}
.skill-progress-fill.xd {
  background: linear-gradient(90deg, #470137, #9c275f);
}
.skill-progress-fill.git {
  background: linear-gradient(90deg, #f34f29, #f1502f);
}
.skill-progress-fill.responsive {
  background: linear-gradient(90deg, #8a2be2, #00b4d8);
}

/* Skill Radar Chart */
.skills-radar {
  background: rgba(26, 26, 46, 0.7);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 60px;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
}

.skills-radar h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 30px;
}

.radar-container {
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 0 auto;
}

/* Skill Cards */
.skills-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background: rgba(26, 26, 46, 0.7);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8a2be2, #00b4d8);
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.card-icon i {
  font-size: 2rem;
  color: #fff;
}

.skill-card h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.skill-card p {
  font-size: 0.95rem;
  color: #b8b8d4;
  line-height: 1.6;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .skills-container {
    grid-template-columns: 1fr;
  }

  .skills-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

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

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .skills-category {
    padding: 20px;
  }

  .category-icon {
    width: 40px;
    height: 40px;
  }

  .category-icon i {
    font-size: 1.2rem;
  }

  .category-header h3 {
    font-size: 1.3rem;
  }
}
/* End Skills */

/* Certificates Section */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.certificate-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.certificate-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.certificate-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.certificate-issuer {
  color: var(--primary-color);
}

.certificate-date {
  color: var(--gray-text);
}

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

.project-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.project-image {
  overflow: hidden;
}

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

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

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.project-status {
  font-weight: 600;
  color: #000000;
  background-color: #00ffc3;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  box-shadow: 0 0 8px #00ffc3a0;
  letter-spacing: 0.7px;
}

.project-status2 {
  font-weight: 600;
  color: #ffffff;
  background-color: #ff0000;
  padding: 2px 10px;
  border-radius: 9px;
  font-size: 0.85em;
  box-shadow: 0 0 12px #ff8800;
  letter-spacing: 0.7px;
  margin-left: 2rem;
}

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

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

.project-buttons {
  display: flex;
  gap: 1rem;
}
/* Edn */

/* Learning Section */
.learning-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.learning-text {
  flex: 1;
}

.learning-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.learning-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.learning-item:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--primary-color);
}

.learning-item h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.learning-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-out;
}

.progress-percentage {
  color: var(--primary-color);
  font-weight: 500;
}

.learning-image {
  flex: 1;
  position: relative;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-text span {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.contact-text p {
  color: var(--light-text);
  margin: 0;
}

.social-links h4 {
  color: white;
  margin-bottom: 1rem;
}

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

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.contact-form {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--light-text);
  font-family: inherit;
  transition: var(--transition);
}

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

.form-group textarea {
  resize: none;
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

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

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

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .home-content,
  .about-content,
  .learning-content {
    flex-direction: column;
  }

  .home-image {
    order: -1;
    margin-bottom: 2rem;
  }

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

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

  .project-buttons {
    flex-direction: column;
  }

  .project-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav.active {
    display: block;
  }

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

  .home-buttons {
    flex-direction: column;
  }

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

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

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

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