* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #1E1E1E;
  color: white;
}

/* Task 1: Styled name on top-left */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Task 2: Navigation with hover effects */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover {
  color: #8B5CF6;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #8B5CF6;
}

/* Task 8: Home icon positioning */
.home-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #8B5CF6;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.home-icon:hover {
  background-color: #7C3AED;
  transform: scale(1.1);
}

/* Hero Section */
#hero {
  padding: 70px 50px 60px;
  text-align: center;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-bg {
  background: rgba(30, 30, 30, 0.8);
  padding: 40px;
  border-radius: 15px;
  display: inline-block;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid #8B5CF6;
}

#hero h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: white;
}

#hero p {
  font-size: 18px;
  line-height: 1.6;
  color: white;
}

/* About Section */
#about {
  padding: 60px 50px;
  background-color: #2A2A2A;
}

#about h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

#about p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto 20px;
  text-align: justify;
  color: #E0E0E0;
}

.cv-button {
  display: block;
  margin: 30px auto 0;
  padding: 15px 30px;
  background-color: #8B5CF6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.cv-button:hover {
  background-color: #7C3AED;
  transform: translateY(-2px);
}

/* Task 4: Skills Section with logos */
#skills {
  padding: 60px 50px;
  background-color: #1E1E1E;
}

#skills h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-item {
  text-align: center;
  padding: 20px;
  background: #2A2A2A;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.skill-item p {
  font-size: 16px;
  font-weight: bold;
  color: white;
}

/* Task 5: Projects Section */
#projects {
  padding: 60px 50px;
  background-color: #2A2A2A;
}

#projects h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

.project-card {
  background: #1E1E1E;
  border: 1px solid #444;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
}

.project-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #E0E0E0;
}

/* Certifications Section */
#certifications {
  padding: 60px 50px;
  background-color: #1E1E1E;
}

#certifications h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.certification-item {
  text-align: center;
  padding: 20px;
  background: #2A2A2A;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.certification-item:hover {
  transform: translateY(-5px);
}

.certification-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
  border-radius: 10px;
  object-fit: contain;
}

.certification-item p {
  font-size: 16px;
  font-weight: bold;
  color: white;
  line-height: 1.4;
}

/* Contact Section */
#contact {
  padding: 60px 50px;
  background-color: #2A2A2A;
}

#contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  background-color: #1E1E1E;
  color: white;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8B5CF6;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 15px 30px;
  background-color: #8B5CF6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.contact-form button:hover {
  background-color: #7C3AED;
  transform: translateY(-2px);
}

.form-status {
  margin-top: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.form-status .success {
  color: #8B5CF6;
  font-weight: 600;
  line-height: 1.5;
}

.form-status .error {
  color: #EF4444;
  font-weight: 600;
  line-height: 1.5;
}

.form-status .loading {
  color: #FFA500;
  font-weight: 600;
  line-height: 1.5;
}

/*
 CV Modal */
.cv-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.cv-modal-content {
  background-color: #2A2A2A;
  margin: 10% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-modal h3 {
  color: white;
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
}

.cv-modal p {
  color: #E0E0E0;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.6;
}

.cv-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cv-form input {
  padding: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  background-color: #1E1E1E;
  color: white;
  transition: border-color 0.3s ease;
}

.cv-form input:focus {
  outline: none;
  border-color: #8B5CF6;
}

.cv-form-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cv-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.cv-send-btn {
  background-color: #8B5CF6;
  color: white;
}

.cv-send-btn:hover {
  background-color: #7C3AED;
  transform: translateY(-2px);
}

.cv-cancel-btn {
  background-color: #444;
  color: white;
}

.cv-cancel-btn:hover {
  background-color: #555;
}

.cv-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cv-close:hover {
  color: #8B5CF6;
}/* Tech
 Stack Bars (GitHub style) */
.tech-stack {
  margin-top: 20px;
}

.tech-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #444;
  margin-bottom: 15px;
}

.tech-segment {
  height: 100%;
}

.tech-segment.javascript { background-color: #f1e05a; }
.tech-segment.css { background-color: #563d7c; }
.tech-segment.html { background-color: #e34c26; }
.tech-segment.python { background-color: #3572A5; }
.tech-segment.typescript { background-color: #2b7489; }
.tech-segment.jupyter { background-color: #DA5B0B; }
.tech-segment.powershell { background-color: #012456; }
.tech-segment.other { background-color: #858585; }

.tech-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
}

.tech-label {
  display: flex;
  align-items: center;
  color: #E0E0E0;
}

.tech-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.tech-dot.javascript { background-color: #f1e05a; }
.tech-dot.css { background-color: #563d7c; }
.tech-dot.html { background-color: #e34c26; }
.tech-dot.python { background-color: #3572A5; }
.tech-dot.typescript { background-color: #2b7489; }
.tech-dot.jupyter { background-color: #DA5B0B; }
.tech-dot.powershell { background-color: #012456; }
.tech-dot.other { background-color: #858585; }

.project-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #8B5CF6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: #7C3AED;
  transform: translateY(-1px);
}/*
 LinkedIn Icon */
.linkedin-link {
  display: inline-block;
  margin-top: 15px;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.linkedin-link:hover {
  color: #8B5CF6;
  transform: scale(1.1);
}/* Ce
rtification Links */
a.certification-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.certification-item:hover {
  text-decoration: none;
}

.certification-item {
  cursor: pointer;
}/* Clicka
ble Certifications */
.certification-item[onclick] {
  cursor: pointer;
}/* 
Additional Tech Stack Colors */
.tech-segment.vue { background-color: #4FC08D; }
.tech-segment.shell { background-color: #89e051; }

.tech-dot.vue { background-color: #4FC08D; }
.tech-dot.shell { background-color: #89e051; }/
* New Skills Colors */
.tech-segment.kubernetes { background-color: #326ce5; }
.tech-segment.pinecone { background-color: #00D4AA; }

.tech-dot.kubernetes { background-color: #326ce5; }
.tech-dot.pinecone { background-color: #00D4AA; }/
* Additional New Skills Colors */
.tech-segment.serverless { background-color: #FF9900; }
.tech-segment.microservices { background-color: #2496ED; }
.tech-segment.mongodb { background-color: #47A248; }
.tech-segment.fastapi { background-color: #009688; }
.tech-segment.nosql { background-color: #4DB33D; }

.tech-dot.serverless { background-color: #FF9900; }
.tech-dot.microservices { background-color: #2496ED; }
.tech-dot.mongodb { background-color: #47A248; }
.tech-dot.fastapi { background-color: #009688; }
.tech-dot.nosql { background-color: #4DB33D; }

/* Django Logo Specific Styling */
.django-logo {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 15px !important;
}

/* Highlight Text with Gradient */
.highlight {
  color: #8B5CF6; /* Fallback for browsers that don't support gradients */
  background: linear-gradient(135deg, #8B5CF6, #A855F7, #C084FC);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (background-clip: text) or not (-webkit-background-clip: text) {
  .highlight {
    color: #8B5CF6;
    font-weight: 600;
  }
}/
* Project buttons for HcChat */
.project-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.project-buttons .project-link {
  flex: 1;
  text-align: center;
}/
/* Terminal Block */
.terminal-block {
  margin-top: 50px;
  background-color: #0D1117;
  border: 1px solid #30363D;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  min-width: 250px;
  font-family: 'Courier New', monospace;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: #161B22;
  border-bottom: 1px solid #30363D;
  font-size: 12px;
  color: #7D8590;
}

.copy-button {
  background: none;
  border: none;
  color: #7D8590;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background-color: #30363D;
  color: #8B5CF6;
}

.terminal-content {
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.prompt {
  color: #7C3AED;
  margin-right: 8px;
}

.command {
  color: #F0F6FC;
}

/* Animated Cursor */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

#cursor-outer {
  position: fixed;
  width: 35px;
  height: 35px;
  border: 2px solid rgba(192, 132, 252, 0.4);
  border-radius: 50%;
  margin-left: -17.5px;
  margin-top: -17.5px;
  transition: all 0.1s ease-out;
  pointer-events: none;
}

#cursor-inner {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: rgba(139, 92, 246, 1);
  border-radius: 50%;
  margin-left: -5px;
  margin-top: -5px;
  transition: all 0.1s ease-out;
  pointer-events: none;
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  #cursor {
    display: none !important;
  }
}

/* Hide default cursor only on nav when custom cursor is active */
@media (hover: hover) and (pointer: fine) {
  nav.custom-cursor-active,
  nav.custom-cursor-active * {
    cursor: none !important;
  }
}

/* Initially hide custom cursor */
#cursor {
  opacity: 0;
  transition: opacity 0.2s ease;
}

#cursor.active {
  opacity: 1;
}