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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #05070a;
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: hidden;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.hero {
  min-height: 70vh;
  padding: 2rem 8% 2.5rem;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(0,150,255,0.15), transparent 30%),
    radial-gradient(circle at top right, rgba(0,255,170,0.08), transparent 25%);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  letter-spacing: 2px;
  color: #7dd3fc;
}

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

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #7dd3fc;
}

.hero-content {
  max-width: 850px;
  margin-top: 4rem;
}

.eyebrow {
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text {
  color: #9ca3af;
  max-width: 700px;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  border: 1px solid #334155;
  color: white;
}

.secondary-btn:hover {
  border-color: #7dd3fc;
}

.section {
  padding: 4rem 8%;
}

.section-header {
  margin-bottom: 2rem;
}

.section-label {
  color: #7dd3fc;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.section h2 {
  font-size: 2.3rem;
  margin-top: 0.5rem;
}

.card,
.skill-card,
.project-card,
.timeline-content {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 2rem;
}

.skills-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-card h3,
.project-card h3 {
  margin-bottom: 1rem;
  color: #7dd3fc;
}

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

.timeline-item {
  padding: 0;
  margin: 0;
}

.timeline-dot {
  display: none;
}

.timeline-date {
  color: #7dd3fc;
  font-size: 0.9rem;
}

.timeline-content h3 {
  margin-top: 0.5rem;
}

.timeline-content h4 {
  color: #cbd5e1;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline-content ul {
  padding-left: 1.2rem;
}

#experience {
  padding-top: 2rem;
}

#experience .timeline-content {
  border-left: 3px solid #38bdf8;
  margin-bottom: 1.5rem;
}

#edu .timeline-content {
  border-left: 2px solid rgba(56, 189, 248, 0.6);
  margin-bottom: 1.5rem;
}

#experience .timeline-content:last-child {
  margin-bottom: 0;
}

.contact-card p {
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 4rem 6%;
  }
}
