html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #01010a, #0c0c20, #121230);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  cursor: url(square-rounded.png), auto;
}

nav {
  position: fixed;
  top: 0;
  right: 2rem;
  z-index: 10;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #aaa;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

nav ul li a:hover {
  color: #7266f0; 
}


.home-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 5;
  position: relative;
}

.home-section h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #eee;
}

.home-section .highlight {
  color: #7266f0;
  font-weight: 700;
}

.home-section p {
  max-width: 600px;
  margin-bottom: 2rem;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.5;
}


.home-section button {
  padding: 0.75rem 2rem;
  background-color: #7266f0;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(114, 102, 240, 0.6);
}

.home-section button:hover {
  background-color: #5a4fd1;
}


canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
}
.about-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #ddd;
  z-index: 5;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #eee;
}

.highlight {
  color: #7266f0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.about-text {
  flex: 1 1 350px;
  max-width: 500px;
}

.about-text h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #eee;
}

.about-text p {
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 1rem;
}

.about-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background-color: #7266f0;
  color: white;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(114, 102, 240, 0.6);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #5a4fd1;
}

.btn-outline {
  background: transparent;
  border: 2px solid #7266f0;
  color: #7266f0;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background-color: #7266f0;
  color: white;
}

.about-skills {
  flex: 1 1 350px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-card {
  background: rgba(50, 50, 70, 0.7);
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  color: #ccc;
  box-shadow: 0 0 15px rgba(114, 102, 240, 0.3);
}

.skill-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #7266f0;
}

.skill-card h4 {
  margin-bottom: 0.5rem;
  color: #eee;
}

.skill-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}
.skills-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto 6rem auto;
  color: #ddd;
  z-index: 5;
  position: relative;
  text-align: center;
}

.skills-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #eee;
}

.skills-section .highlight {
  color: #7266f0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.skill-card {
  background: rgba(50, 50, 70, 0.7);
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(114, 102, 240, 0.3);
  color: #ccc;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #eee;
}

.skill-bar {
  background: #252538;
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
}

.skill-progress {
  background: #7266f0;
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease-in-out;
}
.projects-section {
  padding: 4rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #ddd;
  z-index: 5;
  position: relative;
}

.projects-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #eee;
}

.projects-section .highlight {
  color: #7266f0;
}

.projects-description {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.project-card {
  background: rgba(50, 50, 70, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(114, 102, 240, 0.2);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 360px;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 200px;          
  object-fit: cover;    
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background: #1e1e2f;   
}

.project-info {
  padding: 1rem 1.2rem;
}

.project-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #eee;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span {
  background-color: #252538;
  color: #aaa;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #333;
  transition: background 0.3s;
}

.tech-tags span:hover {
  background-color: #7266f0;
  color: white;
}
.contact-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #ddd;
  position: relative;
  z-index: 5;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #eee;
  margin-bottom: 0.5rem;
}

.contact-section .highlight {
  color: #7266f0;
}

.contact-description {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  color: #aaa;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item i {
  font-size: 1.2rem;
  color: #7266f0;
}

.info-item a, .info-item span {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #ccc;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #7266f0;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  background: rgba(50, 50, 70, 0.8);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(114, 102, 240, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #bbb;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.5rem;
  background: #1c1c2e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7266f0;
}

.contact-form button {
  background: #7266f0;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #5a4fd1;
}
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #888;
  font-size: 0.9rem;
  background: transparent;
  z-index: 5;
  position: relative;
}
.glowing-planet, .glowing-nebula {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  mix-blend-mode: screen;
  transition: transform 0.15s ease-out;
  z-index: 0;
}

#planet1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at center, #76b5ff, #0b2e8a);
  top: 20vh;
  left: 10vw;
  opacity: 0.8;
  box-shadow: 0 0 30px 10px #5a9fff;
}

#planet2 {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at center, #f77e6b, #b33f2f);
  top: 60vh;
  left: 80vw;
  opacity: 0.7;
  box-shadow: 0 0 20px 8px #dd705a;
}

#nebula1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, rgba(244, 179, 189, 0.4), transparent);
  top: 40vh;
  left: 50vw;
  opacity: 0.5;
  box-shadow: 0 0 50px 30px rgba(255, 182, 193, 0.6);
}

.stars-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: 0;
  background: transparent;
}