:root {
  --background: #060606;
  --foreground: #eeeeee;
  --card: #0d0d0d;
  --card-foreground: #eeeeee;
  --primary: #0148fc;
  --primary-foreground: #eeeeee;
  --secondary: #2e67fc;
  --accent: #009ca4;
  --accent-foreground: #060606;
  --muted: #3a3a3a;
  --muted-foreground: #8f8f8f;
  --border: #222222;
  --input: #161616;
  --radius: 0.625rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Geist, "Geist Fallback";
  background: var(--background);
  color: var(--foreground);
  /* line-height: 1.6; */
  overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--card);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(2, 2, 2, 0.50);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: bold;
  font-size: 0.875rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: inline;
  }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.desktop-nav {
  display: none;
  column-gap: 24px;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--foreground);
  transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--card);
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: var(--card);
  color: var(--foreground);
}

.mobile-nav-link.active {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 0rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(80px);
}

.blob-1 {
  width: 20rem;
  height: 20rem;
  background: var(--primary);
  top: 2.5rem;
  right: 1.25rem;
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  width: 20rem;
  height: 20rem;
  background: var(--accent);
  bottom: 2.5rem;
  left: 1.25rem;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 24px;
  /* word-spacing: 9999px; */
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0 7rem 0.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-small {
  color: var(--foreground);
  background: #0148fc;
}
.btn-small:hover {
  background: #0136d6;
}

.btn-blue {
  display: flex;
  gap: 0.75rem;
}

.btn-full {
  width: 100%;
}

.tech-stack {
  padding-top: 2rem;
  border-top: 1px solid rgba(64, 64, 64, 0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tech-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--card);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

/* Sections */
.section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* About Section */
.about {
  padding: 3rem 1rem;
  background: var(--background);
}

@media (min-width: 640px) {
  .about {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .about {
    padding: 5rem 1rem;
  }
}

.about-content {
  /* margin-bottom: 2rem; */
}

.about-text {
  display: space-y-4;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .about-text {
    font-size: 1rem;
  }
}

.about-text p {
  margin-bottom: 1rem;
}

.about-stats {
  background: linear-gradient(135deg, rgba(1, 72, 252, 0.2), rgba(34, 211, 238, 0.2));
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(0, 72, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .about-stats {
    padding: 2rem;
  }
}

.stat-card {
  text-align: center;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 0.875rem;
  }
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 1.875rem;
  }
}

.divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  display: none;
}

@media (min-width: 640px) {
  .divider {
    display: block;
  }
}

/* Skills Section */
.skills {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .skills {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .skills {
    padding: 5rem 1rem;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.skill-card {
  padding: 1.5rem;
  background: rgba(1, 72, 252, 0.1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .skill-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

.skill-card:hover {
  border-color: #0148fc;
  box-shadow: 0 10px 30px rgba(1, 72, 252, 0.1);
}

.skill-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .skill-category {
    font-size: 1.125rem;
  }
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(1, 72, 252, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(0, 72, 255, 0.3);
}

@media (min-width: 640px) {
  .skill-tag {
    font-size: 0.875rem;
    padding: 0.375rem 0.875rem;
  }
}

/* Education Section */
.education {
  padding: 3rem 1rem;
  /* background: rgba(40, 40, 40, 0.3); */
}

@media (min-width: 640px) {
  .education {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .education {
    padding: 5rem 1rem;
  }
}

/* Experience Section */
.experience {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .experience {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .experience {
    padding: 5rem 1rem;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.timeline-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
;
}

@media (min-width: 640px) {
  .timeline {
    gap: 2rem;
  }
}

.timeline-item {
  background: rgba(1, 72, 252, 0.1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .timeline-item {
    border-radius: 1rem;
    padding: 2rem;
  }
}

.timeline-item:hover {
  border-color: #0148fc;
  box-shadow: 0 10px 30px rgba(1, 72, 252, 0.1);
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .timeline-title {
    font-size: 1.375rem;
  }
}

.timeline-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .timeline-subtitle {
    font-size: 1.125rem;
  }
}

.timeline-period {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

@media (min-width: 640px) {
  .timeline-period {
    font-size: 0.875rem;
  }
}

.timeline-cgpa {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 640px) {
  .timeline-cgpa {
    font-size: 1rem;
  }
}

.timeline-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 1rem 0;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .timeline-description {
    font-size: 1rem;
  }
}

.timeline-highlights {
  margin-top: 1rem;
  space-y: 0.5rem;
}

.timeline-highlights li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0.5rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .timeline-highlights li {
    font-size: 1rem;
  }
}

.timeline-highlights li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Certifications Section */
.certifications {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .certifications {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .certifications {
    padding: 5rem 1rem;
  }
}

.certifications-group {
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .certifications-group {
    margin-bottom: 4rem;
  }
}

.group-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .group-title {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
  }
}

.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .certifications-list {
    gap: 1.5rem;
  }
}

.cert-card {
  background:rgba(1, 72, 252, 0.1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .cert-card {
    border-radius: 1rem;
    padding: 2rem;
  }
}

.cert-card:hover {
  border-color: #0148fc;
  box-shadow: 0 10px 30px rgba(1, 72, 252, 0.1);
}

.cert-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cert-title {
    font-size: 1.25rem;
  }
}

.cert-issuer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cert-issuer {
    font-size: 1rem;
  }
}

.cert-period {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cert-period {
    font-size: 0.875rem;
  }
}

.cert-conferences {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cert-conferences {
    font-size: 1rem;
  }
}

.cert-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cert-description {
    font-size: 1rem;
  }
}

/* Projects Section */
.projects {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .projects {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .projects {
    padding: 5rem 1rem;
  }
}

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

@media (min-width: 640px) {
  .projects-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.project-card {
  padding: 1rem;
  background: rgba(1, 72, 252, 0.1);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .project-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

.project-card:hover {
  border-color: #0148fc;
  box-shadow: 0 10px 30px rgba(1, 72, 252, 0.1);
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

.project-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.6;
  flex-grow: 1;
}

@media (min-width: 640px) {
  .project-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(1, 72, 252, 0.1);
  color: var(--primary);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(0, 72, 255, 0.3);
}

@media (min-width: 640px) {
  .tech-badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.875rem;
  }
}

/* Contact Section */
.contact {
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .contact {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .contact {
    padding: 5rem 1rem;
  }
}

.contact-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.contact-form {
  max-width: 32rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-links {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-label {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .contact-label {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .contact-buttons {
    gap: 1rem;
  }
}

.contact-btn {
  padding: 0.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  display: inline-block;
}

@media (min-width: 640px) {
  .contact-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

.contact-btn:hover {
  border-color: var(--primary);
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer {
    padding: 2rem 1rem;
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .about {
    /* background: rgba(40, 40, 40, 0.3); */
  }
}

@media (min-width: 1024px) {
  .about-content {
    flex: 1;
  }

  .about-stats {
    flex: 1;
  }
}

.about {
  display: flex;
  align-items: stretch;
}

.about .section-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .about .section-container {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
}

.about-content {
  flex: 1;
}

.about-stats {
  flex: 1;
}
