/* style.css - Modern Techy Neon Theme */

/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

body {
  background: #10132b;
  color: #eaf6fb;
  min-height: 100vh;
  transition: background 0.3s;
}

a {
  color: #25ffe7;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ffa3ff;
}

/* Navbar */
header {
  background: rgba(10,15,40,0.9);
  box-shadow: 0 0 24px 0 #2b3fff54;
  padding: 1rem 0 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.logo {
  font-size: 1.7rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}
.logo span {
  color: #25ffe7;
}
.navbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  justify-content: flex-end;
  align-items: center;
  margin-right: 2rem;
}
.nav-links li a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.resume-btn {
  background: linear-gradient(90deg, #25ffe7, #4f3fff);
  color: #10132b;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  border: none;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0 2rem 0;
  position: relative;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.profile-img-glow {
  box-shadow: 0 0 55px #15aaff, 0 0 94px #3366ff70;
  border-radius: 50%;
  background: linear-gradient(135deg, #22bcff33, #192550 85%);
  padding: 1rem;
  margin-right: 0.5rem;
}
.profile-img-glow img {
  width: 210px;
  border-radius: 50%;
  box-shadow: 0 0 40px #25ffe7, 0 0 12px #0077ff88;
  background: #1a223a;
  border: 4px solid #25ffe7;
}
.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.hero-text h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.hero-text .neon,
h2.neon,
.section h2.neon {
  color: #25ffe7;
  text-shadow: 0 0 15px #25ffe790;
}
.hero-text .highlight {
  color: #ffa3ff;
  font-weight: 600;
}
.hero-buttons {
  margin: 1.2rem 0 0.8rem;
  display: flex;
  gap: 1rem;
}
.btn {
  padding: 0.6rem 1.3rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1.08rem;
  transition: box-shadow 0.2s;
}
.btn.neon {
  background: linear-gradient(90deg, #25ffe7, #4f3fff);
  color: #102351;
  box-shadow: 0 0 18px #25ffe780;
  font-weight: 700;
}
.btn.outline {
  background: transparent;
  color: #25ffe7;
  border: 2px solid #25ffe7;
}
.hero-social {
  margin-top: 0.7rem;
  display: flex;
  gap: 1.2rem;
}
.hero-social a {
  font-size: 1.2rem;
  color: #25ffe7;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.3rem;
}
.hero-stats div {
  background: #19264c70;
  border: 1px solid #25ffe7;
  border-radius: 18px;
  padding: 1.2rem 2.2rem;
  color: #25ffe7;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 0 12px #25ffe780;
}

/* Section Styles */
.section {
  width: 90%;
  max-width: 1130px;
  margin: 0 auto 3rem auto;
  border-radius: 22px;
  padding: 3rem 2rem 3rem 2rem;
  background: linear-gradient(135deg, #162040e6 70%, #2f386ab0 100%);
  box-shadow: 0 0 28px 0 #213fff20;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s, transform 0.8s;
}
.section.show {
  opacity: 1;
  transform: translateY(0);
}

/* About, Skills, Projects, Education, Achievements */
.skills-list, .projects-grid, .achievements-section ul, .education-section ul {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0 0;
}
.skills-list li,
.achievements-section ul li,
.education-section ul li {
  padding: 0.5rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #212ebd60;
  color: #eaf6fb;
}
.skills-list li:last-child,
.achievements-section ul li:last-child,
.education-section ul li:last-child {
  border-bottom: none;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
  margin-top: 1.1rem;
}
.project-card {
  background: #19264cde;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 0 20px #25ffe740;
  border-left: 5px solid #25ffe7;
  transition: transform 0.4s;
}
.project-card:hover {
  transform: scale(1.04) translateY(-6px);
  background: #222267fc;
}

/* Contact Section */
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.contact-section input,
.contact-section textarea {
  border: 2px solid #25ffe7;
  background: #19264c33;
  padding: 1rem;
  border-radius: 8px;
  color: #eaf6fb;
  font-size: 1.06rem;
  outline: none;
}
.contact-details {
  margin-top: 1.1rem;
  font-size: 1.09rem;
  color: #25ffe7;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 0 1.5rem 0;
  color: #25ffe7;
  font-size: 1.07rem;
  background: transparent;
}
.skills-list-bar {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.skills-list-bar li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  font-size: 1.07rem;
}
.skill-name {
  min-width:110px;
  font-weight: 600;
  color: #ffc400;
  letter-spacing: 0.5px;
}
.grade-bar.dual-color-bar {
  display: flex;
  height: 7px;           /* thinner bar */
  width: 55vw;           /* adjust as needed for your layout! */
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 6px;
}
.grade-bar.dual-color-bar .fill {
  height: 100%;
  transition: width 0.6s cubic-bezier(.55,0,.1,1),background-color 0.5s;
}
.grade-bar.dual-color-bar .fill.yellow {
  background: linear-gradient(90deg, #ffe600, #ffc240);
}
.grade-bar.dual-color-bar .fill.red {
  background: linear-gradient(90deg, #ff6969, #fa2d2d);
}
.outof {
  font-weight: 700;
  min-width: 54px;
  text-align: right;
  color: #ffc240;
  margin-left: 9px;
  font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 1.3rem;
    text-align: center;
  }
  .navbar ul {
    flex-direction: column;
    gap: 0.9rem;
    margin-right: 0;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }
  .hero-stats {
    gap: 0.7rem;
  }
  .section {
    padding: 2.2rem 0.5rem;
  }
}

