:root {
  --navy: #0a192f;
  --teal: #64ffda;
  --light: #ccd6f6;
  --slate: #8892b0;
  --dark-slate: #495670;
  --primary-font: 'Calibre', sans-serif;
}

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

body {
  background: var(--navy);
  color: var(--slate);
  font-family: var(--primary-font);
  line-height: 1.6;
  overflow-x: hidden;
}
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--teal);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 15rem 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

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

.hero-subtitle {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--light);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--slate);
  margin-bottom: 2rem;
}

.hero-description {
  color: var(--slate);
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta-container {
  display: flex;
  gap: 1.5rem;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-btn {
  background: var(--teal);
  color: var(--navy);
}

.cta-btn.secondary {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

/* Profile Image */
.profile-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.profile-image:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.image-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--teal);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sections */
.section {
  padding: 8rem 10%;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  color: var(--light);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--teal);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: #112240;
  padding: 2rem;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

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

.skill-category {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-item {
  background: rgba(100, 255, 218, 0.1);
  color: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #112240;
  padding: 2rem;
  border-radius: 4px;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
}

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

.project-title {
  color: var(--light);
  font-size: 1.4rem;
}

.project-tech {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.tech-pill {
  background: rgba(100, 255, 218, 0.1);
  color: var(--teal);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.project-stats {
  color: var(--slate);
  margin: 1rem 0;
  font-size: 0.9rem;
}

.project-link {
  color: var(--teal);
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.project-link:hover {
  transform: translateX(5px);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-input {
  background: #112240;
  border: 1px solid rgba(100, 255, 218, 0.1);
  padding: 1rem;
  color: var(--light);
  border-radius: 4px;
  width: 100%;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--teal);
}

/* Animations */
[data-aos] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      padding: 12rem 5% 4rem;
  }

  .profile-container {
      width: 280px;
      height: 280px;
  }

  .nav-links {
      display: none;
  }

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

@media (max-width: 480px) {
  .cta-container {
      flex-direction: column;
  }
}


/* Certificates Section */
