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

body {
  font-family: 'Jost', sans-serif;  /* Changed from Inter */  
  color: #e0e0ff;
  background: #0a0e1f;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Jost', sans-serif;  /* Apply to headings too for consistency */
  font-weight: 600;  /* Or 700 for bolder Futura feel */
}

.bg-image {
  position: fixed;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
  z-index: -2;
  opacity: 0.55; /* Keeps it subtle/not busy */
}

main {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 14, 31, 0.4), rgba(10, 14, 31, 0.85) 40%, #0a0e1f 80%);
  min-height: 100vh;
}

section {
  min-height: 80vh;
  padding: 10rem 5% 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  color: #a5b4fc;
}

.tagline {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  max-width: 700px;
  margin: 1.5rem auto 3rem;
  opacity: 0.9;
  font-weight: 300;
}

.social-links a {
  color: #e0e0ff;
  margin: 0 1.8rem;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #a5b4fc;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
}

.skill {
  background: rgba(30, 40, 70, 0.4);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s;
}

.skill:hover {
  background: rgba(30, 40, 70, 0.6);
  border-color: #a5b4fc;
  transform: translateY(-4px);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
}

.project {
  background: rgba(20, 25, 50, 0.5);
  border: 1px solid rgba(100, 120, 200, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s;
}

.project:hover {
  transform: translateY(-8px);
  border-color: #a5b4fc;
}

.project h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #c7d2fe;
}

.project a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.2rem;
  display: inline-block;
}

.project a:hover {
  text-decoration: underline;
}

/* About
#about p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}Í */

.about-blurb {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 1.8rem;
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
}

.about-blurb strong {  /* Optional: emphasize key achievements */
  font-weight: 500;
  color: #a5b4fc;
}
.contact a {
  color: #a5b4fc;
  font-size: 1.5rem;
  text-decoration: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  section { padding: 6rem 5% 4rem; }
  h1 { font-size: 6rem; }
  h2 { font-size: 3rem; }
  .social-links a { margin: 0 1rem; font-size: 1.1rem; }
}


/* Override previous center styles if needed */
#hero {
  text-align: left;
  justify-content: flex-start; /* Align content to left in flex */
  align-items: flex-start;
}

/* Typewriter cursor style */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #a5b4fc;        /* Matches your accent color */
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Make sure text looks good left-aligned */
h1, h2, .tagline {
  text-align: left;
}


/* Responsive: on small screens, keep left but add some padding */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 8%;
  }
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.8rem; }
}

#typewriter-h2,
#typewriter-tagline {
  visibility: hidden;     /* Better than opacity:0 – prevents any layout flash too */
}
