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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #222222;
  --accent: #00d4ff;
  --text: #e0e0e0;
  --muted: #888888;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

@keyframes loadBar {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

.loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  animation: loadBar 2.5s ease forwards;
  z-index: 9999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.8s ease forwards;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.hamburger span {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;

}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 0 60px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0;
 border: 1px solid rgba(0, 212, 255, 0.3);
  animation: fadeUp 0.8s ease forwards;
}
.hero-title{
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 0;
  line-height: 1.1;
  color: #ffffff;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero-title span {
  color: var(--accent);
}
.hero-subtitle{
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.btn{
  padding: 20px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--accent);
  color: var(--bg);
  animation: pulse 2s infinite;
}
.btn-primary:hover {
  background-color: #ffffff;
  color: var(--bg);
}

.btn-ghost{
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--bg);
}
.shapes{
  position: relative;
  width: 400px;
  height: 400px;
}
.shape {
  position: absolute;
  background-color: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 2px;
  animation: float 3s ease-in-out infinite;
}
.shape-1 {
  width: 120px;
  height: 120px;
  top: 0;
  left: 50px;
  font-size: 1rem;
  animation-delay: 0s;
}

.shape-2 {
  width: 100px;
  height: 100px;
  top: 150px;
  left: 0;
  font-size: 0.9rem;
  animation-delay: 0.5s;
}

.shape-3 {
  width: 110px;
  height: 110px;
  top: 100px;
  right: 0;
  font-size: 0.9rem;
  animation-delay: 1s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  bottom: 50px;
  left: 100px;
  font-size: 1.5rem;
  animation-delay: 1.5s;
}
.shape-5 {
  width: 100px;
  height: 100px;
  top: 20px;
  right: 50px;
  font-size: 0.85rem;
  animation-delay: 2s;
}

.shape-6 {
  width: 110px;
  height: 110px;
  bottom: 20px;
  right: 20px;
  font-size: 0.85rem;
  animation-delay: 2.5s;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(0, 212, 255, 0.5);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
  z-index: 100000;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: bounce 1.5s ease-in-out infinite;
}

.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 80px 60px;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }
.stat:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-size: 3.5rem;
  color: var(--accent);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
}

.stat p {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.section-tag {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: bold;
}

.section-header h2 span {
  color: var(--accent);
}
.about {
  padding: 100px 60px;
  background-color: var(--bg);
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

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

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.about-list li {
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-card {
  flex: 0 0 280px;
}

.about-card-inner {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card-inner:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.about-avatar {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent);
  margin: 0 auto 20px;
  letter-spacing: 1px;
}

.about-card-inner h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.about-card-inner p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.about-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.about-link {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.about-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.skills{
  padding: 100px 60px;
  background-color: var(--surface);
}
.skills-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.skill-item {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }
.skill-item:nth-child(7) { animation-delay: 0.7s; }
.skill-item:nth-child(8) { animation-delay: 0.8s; }
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.skill-info span:first-child {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.skill-info span:last-child {
  color: var(--accent);
  font-size: 0.9rem;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 3px;
  animation: skillFill 1.5s ease forwards;
  transform-origin: left;
}

@keyframes skillFill {
  from { width: 0% !important; }
  to { width: inherit; }
}


.projects {
  padding: 100px 60px;
  background-color: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.project-number {
  font-size: 3rem;
  font-weight: bold;
  color: rgba(0, 212, 255, 0.2);
  line-height: 1;
}

.project-card h3 {
  color: #ffffff;
  font-size: 1.1rem;
}

.project-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

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

.project-tags span {
  background-color: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.project-link:hover {
  letter-spacing: 2px;
}


.skill-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: width 1.5s ease;
}

css
.project-card p {
  flex: 1;  
}



.project-link:hover {
  letter-spacing: 2px; 
}

.contact {
  padding: 100px 60px;
  background-color: var(--surface);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-text {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}


footer {
  background-color: var(--bg);
  color: var(--muted);
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

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


@media (max-width: 768px) {

  nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    gap: 60px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .shapes {
    width: 280px;
    height: 280px;
  }

  .stats {
    gap: 30px;
    padding: 60px 20px;
    flex-wrap: wrap;
  }

  .about {
    padding: 80px 20px;
  }

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

  .about-card {
    flex: none;
    width: 100%;
  }

  .skills {
    padding: 80px 20px;
  }

  .projects {
    padding: 80px 20px;
  }

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

  .contact {
    padding: 80px 20px;
  }

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

}


@media (max-width: 480px) {

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

  .stat-number {
    font-size: 2.5rem;
  }

  .shapes {
    width: 200px;
    height: 200px;
  }

  .shape-1, .shape-2,
  .shape-3, .shape-4,
  .shape-5, .shape-6 {
    width: 70px;
    height: 70px;
    font-size: 0.75rem;
  }

}
