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

html {
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* 3D Canvas */
#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Content Overlay */
.content-wrapper {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
}

/* Fixed Navigation */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  line-height: 1;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
  letter-spacing: 1px;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: #fff;
  color: #0a0a0a;
  transform: scale(1.05);
}

.btn.solid {
  background: #fff;
  color: #0a0a0a;
}

.btn.solid:hover {
  background: transparent;
  color: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* Sections */
section {
  min-height: 100vh;
  padding: 6rem 4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  max-width: 1200px;
  width: 100%;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fff;
}

/* About Section */
#about {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
}

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

.about-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Projects Section */
#projects {
  background: rgba(10, 10, 10, 0.95);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}


.project-card {
  position: relative;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
}

.project-card:hover {
  border-color: #fff;
  transform: translateY(-10px);
  background: rgba(26, 26, 26, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-icon {
  font-size: 2.5rem;
  color: #fff;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.project-desc {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.project-card:hover .tag {
  background: #fff;
  color: #0a0a0a;
}

.project-link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-link-text {
  gap: 1rem;
  color: #00ffff;
}

/* Skills Section */
#skills {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-5px);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.2);
}

.skill-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Contact Section */
#contact {
  background: rgba(10, 10, 10, 0.95);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-text {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 300;
}

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  color: #aaa;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-fixed { padding: 1.5rem 2rem; }
  .nav-links { gap: 1.5rem; }
  .hero h1 { font-size: 3rem; }
  .hero .subtitle { font-size: 1rem; }
  section { padding: 4rem 2rem; }
  .section-title { font-size: 2.5rem; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .projects-grid, .skills-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; gap: 1rem; }
}
