* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8f9ff;
  --text: #333333;
  --text-muted: #666666;
  --border: #dddddd;
  --header-bg: rgba(255, 255, 255, 0.95);
}

html[data-theme="dark"] {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --surface-muted: #141414;
  --text: #eaeaea;
  --text-muted: #aaaaaa;
  --border: #333333;
  --header-bg: rgba(15, 15, 15, 0.95);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #0b0b0b; /* rich matte black */
  color: #eaeaea;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;

  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 2px
    );

  opacity: 0.95;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
header.scrolled {
  backdrop-filter: blur(10px);
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.seed-logo {
  font-size: 0.8em;
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.seed-logo::before {
  content: "🌱";
  font-size: 1.2em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
/* .hero-content h1 .location {
            font-size: 2rem; 
            margin-left: 0.5rem; 
            vertical-align: middle; 
        } */

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 30px 0;
}

.about,
.projects,
.contact {
 background: transparent;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  /* color: #333; */
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #667eea;
  margin: 20px auto;
}

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

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  background: #f8f9ff;
  color: #667eea;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  border: 2px solid #667eea;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: #667eea;
  color: white;
}

.profile-image {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden; /* ensures nothing spills out */
}

.profile-image img {
  margin-top: -25px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Projects Section */
.projects {
 background: var(--surface-muted);
}

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

.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #667eea, #303f5742);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* optional */
  object-fit: cover; /* optional if using fixed container sizes */
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-content p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

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

.tech-tag {
  background: #f0f2ff;
  color: #667eea;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #764ba2;
}

/* Contact Section */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 2rem;
  color: #667eea;
}

.contact-item a {
    color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #667eea;
}

.contact-logo {
  width: 40px;
  height: 40px;
  margin-bottom: -7px;
  vertical-align: middle;
}
/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .contact-info {
    flex-direction: column;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
