:root {
  --bg-color: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --transition-smooth: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  --font-mono: "IBM Plex Mono", monospace;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none !important;
}

* {
  cursor: none !important;
}

.nav-container {
  padding: 20px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: 50px;
}

.nav-item {
  color: var(--text-primary);
  text-decoration: none;
  font-family: monospace;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-number {
  color: var(--accent-color);
  margin-right: 5px;
  font-size: 0.9rem;
}

.nav-item:hover {
  color: var(--accent-color);
}

.resume-button {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.resume-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section - azumbrunnen style */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 10% 0 10%;
  margin-top: 0;
  background: transparent;
  z-index: 10;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  text-transform: lowercase;
}

.greet {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.hero .description {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 2rem 0 3rem 0;
  line-height: 1.6;
  text-transform: lowercase;
}

.cta-container {
  margin-top: 1rem;
}

.say-hi-btn {
  font-family: var(--font-mono);
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: lowercase;
  transition: all 0.3s ease;
  background: transparent;
}

.say-hi-btn:hover {
  background: #fff;
  color: #000;
}

/* Background Effects */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.08;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-size: 100px 100px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

section {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

h2 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.content {
  max-width: 800px;
  margin: 0 auto;
}

.projects,
.education,
.skills,
.contact {
  margin-bottom: 30px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.project-item,
.skill-item {
  background: #161b22;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.education-item {
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.3s;
  scale: 0.85;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 15px;
}

.project-item:hover,
.skill-item:hover {
  transform: translateY(-3px);
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  padding: 6px;
}

.details {
  flex-grow: 1;
}

.school {
  font-size: 1.2rem;
  margin: 0;
  color: var(--text-primary);
  text-align: left;
}

.degree {
  color: var(--text-secondary);
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.marks {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

.year {
  color: var(--text-secondary);
  text-align: right;
  min-width: 120px;
  font-size: 0.9rem;
}

#skills {
  text-align: center;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}

.skill-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: background-color 0.3s;
}

.skill-tags span:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact {
  text-align: center;
  padding: 40px 20px;
}

.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.contact p:first-of-type {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.contact p {
  color: #8b949e;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #58a6ff;
}

.learning-pill {
  display: inline-block;
  background-color: rgb(39, 39, 42);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

#certifications {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cert-list {
  display: flex;
  flex-direction: column;
  width: 700px;
}

.cert-item {
  border-radius: 8px;
  padding: 15px;
  padding-top: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.cert-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cert-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 0;
}

.cert-content.expanded {
  max-height: 500px;
  margin-top: 1rem;
  border-top: 1px solid #2d333b;
  padding-top: 1rem;
}

.cert-section {
  margin-bottom: 1.5rem;
  text-align: left;
}

.cert-title-accent {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.cert-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
}

.chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
  stroke: var(--text-secondary);
}

.cert-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-logo img {
  width: auto;
  height: 30px;
  max-width: 100%;
  object-fit: contain;
}

.cert-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.cert-info p {
  margin: 0;
  color: #888;
  font-size: 0.8rem;
  text-align: left;
}

.expires {
  margin-left: auto;
  color: #888;
  font-size: 0.8rem;
}

/* Sidebar Navigation */
.sidebar {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0.8rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sidebar:hover {
  background: rgba(22, 27, 34, 0.95);
}

.nav-item {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-item:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  color: var(--accent-color);
}

.nav-item .tooltip {
  position: absolute;
  left: 120%;
  background: #161b22;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .tooltip {
  opacity: 1;
  visibility: visible;
  left: 130%;
}

.nav-indicator {
  position: absolute;
  left: -25px;
  width: 3px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 3px;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-item.active .nav-indicator {
  opacity: 1;
}

@media (max-width: 768px) {
  .sidebar {
    left: 20px;
    padding: 1rem 0.6rem;
  }

  .nav-item {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .nav-item .tooltip {
    display: none;
  }
}

#about {
  color: var(--text-primary);
  padding: 50px 20px;
}

.about-container {
  margin: 0 auto;
  text-align: center;
}

#about h2 {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.email-link {
  position: fixed;
  bottom: 0;
  right: 40px;
  writing-mode: vertical-rl;
  color: #a8b2d1;
  text-decoration: none;
  font-family: monospace;
  font-size: 0.9rem;
  padding-bottom: 120px;
}

.email-link::after {
  content: "";
  display: block;
  width: 1px;
  height: 90px;
  background-color: #a8b2d1;
  margin: 20px auto 0;
}

.email-link:hover {
  color: var(--accent-color);
}

.projects {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.projects h2 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px;
}

.project-card {
  background: #161b22;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  scale: 0.85;
  /* Same as education items */
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  scale: 0.88;
  /* Slightly larger on hover if you want, or just keep it 0.85 */
}

.project-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.folder-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 6px;
}

.card-links {
  display: flex;
  gap: 12px;
}

.card-links a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.card-links a:hover {
  color: var(--accent-color);
}

.project-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.project-card:hover .project-title {
  color: var(--accent-color);
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack span {
  color: var(--accent-color);
  font-size: 0.75rem;
  background: rgba(100, 255, 218, 0.05);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: monospace;
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .projects {
    padding: 20px 15px;
  }

  .project-image {
    height: 140px;
  }

  .project-card {
    scale: 1;
    /* Normal size on mobile for better visibility */
  }
}