body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0b0c10 0%, #1a1f2b 100%);
  color: #fff;
  
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* HERO SECTION */
#hero {
  text-align: center;
  padding: 10px 20px 30px;
}
.hero-title {
  font-size: 3rem;
  color: #00ffcc;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 10px;
}
.hero-desc {
  max-width: 500px;
  margin: 15px auto;
  opacity: 0.8;
}
.hero-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.btn {
  padding: 10px 20px;
  border-radius: 25px;
  background: #00ffcc;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #00ccaa;
}
.btn.outline {
  border: 2px solid #00ffcc;
  background: transparent;
  color: #00ffcc;
}
.btn.outline:hover {
  background: #00ffcc;
  color: #000;
}

/* ---------- SHOOTING STARS ---------- */
.night {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.shooting_star {
  width: 2px;
  height: 100px;
  background: linear-gradient(-45deg, #00ffcc, transparent);
  position: absolute;
  animation: shoot 3s linear infinite;
  top: 0;
  left: 50%;
}
@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-400px) translateY(400px) rotate(45deg);
    opacity: 0;
  }
}

/* ---------- ABOUT SECTION ---------- */
.about-card {
  max-width: 700px;
  margin: auto;
  padding: 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #00ffcc;
  margin-bottom: 15px;
}
.about-card h2 {
  color: #00ffcc;
  margin-bottom: 10px;
}
.about-card p {
  color: #eee;
  line-height: 1.6;
  font-size: 1rem;
}
.about-card blockquote {
  font-style: italic;
  color: #ccc;
  border-left: 3px solid #00ffcc;
  padding-left: 10px;
  margin-top: 15px;
}

/* ---------- SKILLS SECTION (Improved) ---------- */
#skills {
  text-align: center;
  padding: 20px 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 20px 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 255, 204, 0.2);
}

.skill-card img {
  width: 60px;
  height: 60px;
  display: block;
  margin: auto;
  margin-bottom: 10px;
}

.skill-card p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 0 20px #00ffcc;
}
.section-title {
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 30px;
}

/* ---------- EDUCATION SECTION ---------- */
#education {
  text-align: center;
  padding: 10px 10px;
}
.timeline {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.edu-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.edu-card:hover {
  transform: translateX(5px);
  box-shadow: 0 0 15px #00ffcc;
}
.edu-icon {
  font-size: 2rem;
  margin-right: 15px;
  color: #00ffcc;
}
.edu-info h3 {
  color: #00ffcc;
  margin-bottom: 5px;
}
.edu-info p {
  color: #ddd;
}
.cv-download {
  margin-top: 20px;
}
/* ---------- PROJECTS SECTION ---------- */
#projects {
  text-align: center;
  padding: 30px 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

/* Project Card with 3D + Fade-in */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeIn 1s ease forwards;
  transition:
    transform 0.4s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}
.project-card:nth-child(1) {
  animation-delay: 0.2s;
}
.project-card:nth-child(2) {
  animation-delay: 0.4s;
}
.project-card:nth-child(3) {
  animation-delay: 0.6s;
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.project-info {
  text-align: left;
  padding: 15px;
}
.project-info h3 {
  color: #00ffcc;
  margin-bottom: 5px;
}
.project-card:hover {
  transform: rotateY(6deg) rotateX(3deg) scale(1.05);
  box-shadow: 0 0 20px #00ffcc;
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CONTACT SECTION ---------- */
#contact {
  text-align: center;
  padding: 5px 20px;
}
.contact-text {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 10px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00ffcc;
  box-shadow: 0 0 10px #00ffcc;
}
.contact-form button {
  margin-top: 10px;
}

/* Social Links */
.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-links a {
  color: #00ffcc;
  font-weight: bold;
  text-decoration: none;
  transition:
    color 0.3s,
    transform 0.3s;
}
.social-links a:hover {
  color: #00ccaa;
  transform: scale(1.1);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 5px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* ---------- FINAL POLISH ---------- */
section {
    padding: 35px 10px;
    margin-bottom: 0px;
}

/* ---------- NAVIGATION BAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  color: #00ffcc;
  font-weight: bold;
  text-shadow: 0 0 5px #00ffcc;
}
.logo .accent {
  color: #fff;
  font-weight: normal;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition:
    color 0.3s,
    text-shadow 0.3s;
}
.nav-links li a:hover {
  color: #00ffcc;
  text-shadow: 0 0 8px #00ffcc;
}

/* Add padding to body so content isn't hidden behind navbar */
body {
  padding-top: 60px;
}
