/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a0a1a;
  color: #fff;
  line-height: 1.6;
}
.section-split {
  height: 1px;
  background: linear-gradient(to right, transparent, #00aaff33, transparent);
  margin: 2rem 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: #0a0a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 2px;
}

.nav-right a {
  margin: 0 1rem;
  text-decoration: none;
  color: #c0c0c0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: #00aaff;
}

.contact-btn {
  padding: 0.5rem 1rem;
  background: #1e1e2e;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: #00aaff;
}

/* --- Hamburger Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 2px;
}

/* Animate Hamburger into X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.intro {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.profile-pic {
  width: 160px;
  height: 160px;
  margin: 1rem auto;
  background: url('https://avatars.githubusercontent.com/u/106433504?v=4') no-repeat center center/cover;
  border-radius: 50%;
  border: 4px solid #00aaff;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  color: #3aaaff;
  margin: 1rem 0;
  line-height: 1.2;
}
/* Prevent flicker and add cursor blink */
#typed-text {
  min-width: 1ch; /* Reserve space even if text is empty */
  display: inline-block;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  color: #00aaff;
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.subtitle {
  font-size: 1.1rem;
  color: #b0b0c0;
  max-width: 600px;
  margin: 0 auto;
}
.emoji-banner {
  font-size: 1rem;
  color: #b0b0c0;
  margin-top: 1.5rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Current Status Block */
.current-status {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
  padding: 0.8rem 1.2rem;
  background: #0f0f25;
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #ccc;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.08);
}
.current-status span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.current-status span strong {
  color: #00aaff;
}
.hero-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.stat-card {
  background: #0f0f25;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.1);
  max-width: 425px;
  width: 100%;
  text-align: center;

}

.stat-img {
  width: 100%;
  border-radius: 10px;
}


/* Education Section */
.education {
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #00aaff;
  font-weight: bold;
}

.section-subtitle {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #cccccc;
}

.section-info {
  font-size: 1rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto 3rem;
}


/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 900px;
  background-color: #111120;
  padding: 1.6rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
}

.timeline-icon h2 {
  width: 65px;
  height: 60px;
  border-radius: 40%;
  background: white;
  color: #004d66;
  padding: 5px;
}

.timeline-content {
  text-align: left;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.company {
  font-size: 1rem;
  color: #00aaff;
  margin-bottom: 0.8rem;
}

.timeline-content ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  color: #ccc;
  margin-bottom: 0.6rem;
}

.timeline-content .date {
  color: #888;
  font-size: 0.9rem;
}

/* Projects Section */
.projects {
  padding: 4rem 2rem;
  text-align: center;
  background: #0c0c1f;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.project-card {
  background: #12122a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #222;
}



.project-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.project-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.tags span {
  background: #1a1a2f;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.75rem;
  color: #00aaff;
}

.project-desc {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.role-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
}

.role {
  color: #999;
  font-weight: 500;
}

.view-detail {
  color: #00aaff;
  text-decoration: none;
  font-weight: 600;
}

.view-detail:hover {
  text-decoration: underline;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.slider-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slider-container img.active {
  opacity: 1;
}

.project-title a {
  color: #00aaff;
  text-decoration: none;
}

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

/* Skills Section */
.skills {
  padding: 4rem 2rem;
  background: #0a0a1a;
  text-align: center;
}

.skills .section-title {
  font-size: 2.5rem;
  color: #00aaff;
}

.skills .section-subtitle {
  color: #ccc;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* Skills Layout */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.skills-group h3 {
  text-align: left;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  background: #111120;
  padding: 1rem;
  border-radius: 10px;
}

/* Skill Chips */
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1f1f2f;
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1rem;
  color: #00ccff;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.skill-chip img {
  width: 20px;
  height: 20px;
  filter: brightness(1.1);
}

.skill-chip:hover {
  background: #00aaff;
  color: #fff;
}

/* Achievements Section */
.achievements {
  padding: 4rem 2rem;
  background: #080818;
  text-align: center;
}

.achievements .section-title {
  font-size: 2.5rem;
  color: #00aaff;
}

.achievements .section-subtitle {
  color: #ccc;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* Grid Layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Cards */
.achievement-card {
  background: #111120;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.05);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.15);
}

.achievement-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #222;
}

/* Card Content */
.achievement-content {
  padding: 1rem;
  text-align: left;
}

.achievement-content h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.achievement-content p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.achievement-content a {
  color: #00aaff;
  font-size: 0.85rem;
  text-decoration: none;
}

.achievement-content a:hover {
  text-decoration: underline;
}

/* Certifications Section */
.certifications {
  padding: 4rem 2rem;
  background: #0a0a1a;
  text-align: center;
}

.certifications .section-title {
  font-size: 2.5rem;
  color: #00aaff;
}

.certifications .section-subtitle {
  color: #ccc;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* Grid Layout */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Certificate Cards */
.cert-card {
  background: #111120;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.15);
}

.cert-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cert-info {
  padding: 1rem;
  text-align: left;
}

.cert-info h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cert-info p {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.cert-info a {
  color: #00aaff;
  font-size: 0.85rem;
  text-decoration: none;
}

.cert-info a:hover {
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* Interview Experience Section */
.interviews {
  padding: 4rem 2rem;
  background: #080818;
  text-align: center;
}

.interviews .section-title {
  font-size: 2.5rem;
  color: #00aaff;
}

.interviews .section-subtitle {
  color: #ccc;
  margin-bottom: 3rem;
  font-size: 1rem;
}


/* Card Layout */
.interview-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.interview-card {
  display: flex;
  flex-direction: row;
  background: #111120;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.06);
  transition: all 0.3s ease;
}

.interview-card:hover {
  transform: scale(1.01);
}

.interview-logo {
  flex: 1 1 40%;
  background: #0a0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.interview-logo img {
  width: 80%;
  max-height: 100px;
  object-fit: contain;
}

.interview-logo img:hover {
  filter: brightness(1.2) drop-shadow(0 0 5px #00aaff);
}

.interview-details {
  flex: 1 1 60%;
  padding: 1.5rem;
  text-align: left;
}


.interview-details h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.interview-details p {
  font-size: 0.9rem;
  color: #bbb;
  margin: 0.3rem 0;
}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
}

.accepted {
  background-color: #006400;
  color: #aaffaa;
}

.rejected {
  background-color: #8b0000;
  color: #ffaaaa;
}

.positive {
  background-color: #004d66;
  color: #66ffff;
}

.negative {
  background-color: #4d0033;
  color: #ff99cc;
}

.story-link {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: #00aaff;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.story-link:hover {
  background: #0077aa;
}



/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
  background: #080818;
}

.contact .section-title {
  font-size: 2.5rem;
  color: #00aaff;
  margin-bottom: 3rem;
}

/* Contact Box */
.contact-box {
  background: #0f0f25;
  border-radius: 20px;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 0 30px rgba(0, 170, 255, 0.1);
}

/* Left Section */
.contact-left {
  flex: 1 1 500px;
  text-align: left;
}

.profile-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-pic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.status-badge {
  background: #1f1f2f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #ccc;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
}

/* Contact Text */
.contact-heading {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #fff;
}

.contact-text {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.6;
}

/* Right Section */
.contact-right {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 0.5rem;
  background-color: white;
  border-radius: 50%;   
  transition: transform 0.2s;
}


.social-icons a img:hover {
  transform: scale(1.2);
}

.email-box {
  background: #1f1f2f;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #ccc;
}


/* ---------- Responsive Layouts ---------- */
@media screen and (max-width: 768px) {

  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  .nav-left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .nav-right a,
  .contact-btn {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .contact-btn {
    align-self: start;
    padding: 0.5rem 1rem;
  }

  @media screen and (max-width: 768px) {

    .menu-toggle {
      display: flex;
    }

    .nav-right {
      display: none;
      flex-direction: column;
      width: 100%;
      background: #111120;
      padding: 1rem 1.5rem;
      margin-top: 1rem;
      border-radius: 8px;
    }

    .nav-right.active {
      display: flex;
    }

    .nav-right a,
    .contact-btn {
      margin: 0.5rem 0;
      font-size: 1rem;
    }
  }


  /* Hero Section */
  .hero {
    padding: 3rem 1.2rem;
  }

  .intro {
    font-size: 1.1rem;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }

  .title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 480px) {

  .title {
    font-size: 1.8rem;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .navbar {
    padding: 1rem;
  }
}