
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
a {
  color: #bb86fc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Stars */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.stars::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  box-shadow:
    30px 40px white, 100px 150px white, 200px 250px white,
    400px 450px white, 500px 600px white, 650px 700px white;
  animation: moveStars 60s linear infinite;
  opacity: 0.3;
}
@keyframes moveStars {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.hero h1 {
  font-size: 3.2rem;
}
.summary {
  font-size: 1.1rem;
  margin: 20px auto 30px;
  max-width: 600px;
  color: #ccc;
}
.highlight {
  color: #bb86fc;
}
.nav-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Button */
.btn {
  background: #bb86fc;
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(187, 134, 252, 0.3);
}
.btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Section */
.section {
  max-width: 1000px;
  margin: 100px auto;
  padding: 40px 20px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}
.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #bb86fc;
}
.project-card, .skills-grid, .back-link {
  margin-bottom: 20px;
}
.project-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card p {
  color: #ccc;
  margin: 10px 0 15px;
}
.btn.live {
  background: transparent;
  border: 2px solid #bb86fc;
  color: #bb86fc;
}
.btn.live:hover {
  background: #bb86fc;
  color: #000;
}

/* Email Button */
.email-btn {
  background: #ffffff;
  color: #000;
  border: none;
  margin: 20px auto;
  display: inline-block;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.email-btn:hover {
  background: #bb86fc;
  color: #000;
  transform: scale(1.05);
}
.skill-card {
  background: #222;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.skill-card:hover {
  background: #bb86fc;
  color: #000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(187, 134, 252, 0.4);
}
/* Email Button */
.email-btn {
  background: #ffffff;
  color: #000;
  border: none;
  margin: 25px auto;
  padding: 14px 30px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 30px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.email-btn:hover {
  background: #bb86fc;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(187, 134, 252, 0.4);
}

/* Location Styling */
.location {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  margin-top: 20px;
}

/* Back Link */
.back-link {
  text-align: center;
  margin-top: 40px;
}
.back-link a {
  color: #bb86fc;
  text-decoration: none;
  font-weight: bold;
}
.back-link a:hover {
  text-decoration: underline;
}
/* Contact Section Container */
.contact-section {
  max-width: 500px;
  margin: 60px auto 100px;
  background: #121212;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(187, 134, 252, 0.25);
  text-align: center;
  color: #ddd;
  animation: fadeInUp 0.8s ease forwards;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Heading */
.contact-section h2 {
  font-size: 2.4rem;
  color: #bb86fc;
  margin-bottom: 15px;
}

/* Paragraph */
.contact-section p {
  font-size: 1.15rem;
  margin-bottom: 25px;
  color: #ccc;
  line-height: 1.5;
}

/* Email Button */
.email-btn {
  background: #bb86fc;
  color: #121212;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 35px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.email-btn:hover {
  background: #d39cff;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(211, 156, 255, 0.7);
}

/* Location Text */
.location {
  margin-top: 30px;
  font-size: 1rem;
  color: #999;
}

/* Back Link */
.back-link {
  margin-top: 40px;
}
.back-link a {
  color: #bb86fc;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.back-link a:hover {
  color: #d39cff;
  text-decoration: underline;
}
.section h3 {
  color: #bb86fc;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center; 
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(187, 134, 252, 0.2);
  padding-bottom: 5px;
}

/* Ensure skills-grid uses grid for a responsive layout */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for the About Me Paragraph */
.about-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    /* Add a subtle hover effect */
    transition: transform 0.3s ease, color 0.3s ease;
    /* Add an on-load animation */
    animation: fadeInUp 1s ease forwards;
}

/* Interaction: Make it pop slightly on hover */
.about-summary:hover {
    color: #fff; /* Make text brighter on hover */
    transform: translateY(-2px); /* Lift the text slightly */
}

/* Style the highlights (the bolded text like Python, JavaScript) */
.about-summary strong {
    color: #bb86fc; /* Your theme color */
    transition: color 0.3s ease;
}

.about-summary:hover strong {
    color: #fff; /* Make highlights white on hover */
}
.type-effect {
  /* Setup for animation */
  overflow: hidden; /* Ensures text doesn't wrap off screen during animation */
  border-right: .15em solid #bb86fc; /* The blinking cursor */
  white-space: nowrap; 
  width: 0; /* Starts with 0 width */
  animation: 
    typing 3.5s steps(40, end) forwards,
    blink-caret .75s step-end infinite;
}

/* The typing animation effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #bb86fc; }
}

.about-summary:hover {
  text-shadow: 0 0 8px #bb86fc;
  /* ... other subtle effects ... */
}



