@media (max-width: 900px) {
  body.sidebar-open main,
  body.sidebar-open footer {
    filter: blur(8px) brightness(0.7);
    pointer-events: none;
    user-select: none;
    transition: filter 0.2s;
  }
}
/* Hide about photo when sidebar is open on mobile */
@media (max-width: 900px) {
  body.sidebar-open #about-photo-wrapper {
    display: none !important;
  }
}
/* --- Mobile Sidebar Navigation --- */
.mobile-menu-toggle {
  display: none;
  z-index: 1300;
}
.mobile-sidebar {
  display: none;
}
.sidebar-overlay {
  display: none;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2em;
    z-index: 1300;
    cursor: pointer;
  }
  .mobile-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80vw;
    max-width: 340px;
    background: #18181c;
    box-shadow: 2px 0 24px rgba(0,0,0,0.25);
    z-index: 1202;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    padding: 0 0 0 0;
  }
  .mobile-sidebar.active {
    transform: translateX(0);
  }
  .close-sidebar {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.3em;
    margin: 1.2em 1.2em 0.5em 0;
    cursor: pointer;
  }
  .sidebar-links {
    list-style: none;
    padding: 0 0 0 0;
    margin: 2em 0 0 0;
    width: 100%;
  }
  .sidebar-links li {
    width: 100%;
    border-bottom: 1px solid #23242a;
  }
  .sidebar-links li:last-child {
    border-bottom: none;
  }
  .sidebar-links a {
    display: block;
    width: 100%;
    padding: 1.2em 2em;
    color: #e6e6e6;
    font-size: 1.18em;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .sidebar-links a:hover {
    background: #23242a;
    color: #ffe600;
  }
  .sidebar-overlay {
    display: none;
  }
  .sidebar-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1200;
  }
}

@media (min-width: 901px) {
  .mobile-menu-toggle,
  .mobile-sidebar,
  .sidebar-overlay {
    display: none !important;
  }
  .desktop-nav {
    display: block;
  }
}
/* Responsive Navbar Styles */
.navbar {
  display: flex;
  align-items: center;
  padding: 15px 32px;
  background: #111;
  color: white;
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
  margin-right: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 16px;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border-radius: 0 0 0 1em;
    z-index: 1000;
    gap: 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-size: 1.15em;
    border-radius: 0;
    color: #fff;
    background: none;
    border-bottom: 1px solid #222;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links li a:last-child {
    border-bottom: none;
  }
  .nav-links li a:hover {
    background: #222;
    color: #ffe600;
  }
  .menu-toggle {
    display: block;
  }
}


.nav-links li {
  list-style: none;
  padding-left: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08em;
  padding: 0.5em 1.1em;
  border-radius: 2em;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links li a:hover {
  background: #222;
  color: #ffe600;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 16px;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border-radius: 0 0 0 1em;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
/* Projects Timeline Section (inherits Education styles) */
.projects-section .edu-title {
  color: #ffe600;
}
.projects-section .edu-dot {
  background: #ffe600;
}
.projects-section .edu-year {
  color: #ffe600;
  font-weight: 700;
}
.projects-section .edu-school {
  color: #fff;
  font-weight: 600;
}
.projects-section .edu-desc {
  color: #f7faff;
}
.project-link {
  display: inline-block;
  margin-top: 0.7em;
  color: #1976d2;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #1976d2;
  transition: color 0.2s, border-color 0.2s;
}
.project-link:hover {
  color: #ffe600;
  border-color: #ffe600;
}
   *{
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #121212;
      color: #eee;
      scroll-behavior: smooth;
    }

    a {
      color: #1e90ff;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    a:hover {
      text-shadow: 0 0 10px #1e90ff;
    }

    header {
      background: rgba(30,30,30,0.15);
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: static;
      box-shadow: 0 4px 24px rgba(0,0,0,0.12);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.10);
      transition: background 0.3s, box-shadow 0.3s, border 0.3s;
    }

    header h1 {
      margin: 0;
      font-size: 1.5rem;
    }

    nav a {
      margin-left: 1.5rem;
      font-weight: 600;
      color: #eee;
      font-size: 1.08em;
      padding: 0.5em 1.3em;
      border-radius: 2em;
      transition: background 0.2s, color 0.2s;
      backdrop-filter: blur(2px);
    }

    main {
      max-width: 900px;
      margin: 2rem auto;
      padding: 0 1rem;
    }

    section {
      margin-bottom: 4rem;
    }

    h2 {
      border-bottom: 2px solid #1e90ff;
      padding-bottom: 0.3rem;
      margin-bottom: 1rem;
    }

    #about {
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    #about img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 4px 10px rgba(30,144,255,0.5);
      border: 3px solid #1e90ff;
      animation: float 3s ease-in-out infinite;
    }

    #about p {
      flex: 1 1 300px;
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .cv-download-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 20px;
      background-color: #1e90ff;
/* Skills Timeline Section */
body {
  background: #23242a;
  color: #f7faff;
}

.skills-section {
  max-width: 700px;
  margin: 3rem auto 2rem auto;
  background: #23242a;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(25,118,210,0.20);
  padding: 2.2em 2.5em 2em 2.5em;
  border-top: 4px solid #1976d2;
}
.skills-title {
  font-size: 2em;
  margin-bottom: 1.2rem;
  color: #ffe600;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.skills-timeline {
  position: relative;
  margin-left: 1.2em;
  padding-left: 1.5em;
  border-left: 3px solid #ffe600;
}
.skills-item {
  position: relative;
  margin-bottom: 2.2em;
}
.skills-dot {
  position: absolute;
  left: -1.7em;
  top: 0.5em;
  width: 1.1em;
  height: 1.1em;
  background: #ffe600;
  border-radius: 50%;
  border: 2px solid #23242a;
  box-shadow: 0 2px 8px rgba(255,230,0,0.10);
}
.skills-content {
  background: #23242a;
  border-radius: 0.7em;
  padding: 1em 1.3em;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #35363c;
}
.skills-year {
  font-size: 1em;
  color: #ffe600;
  font-weight: 700;
  min-width: 90px;
}
.skills-name {
  font-size: 1.2em;
  margin: 0 0.7em 0 0.7em;
  flex: 1;
  color: #fff;
  font-weight: 600;
}
.skills-icon {
  font-size: 1.5em;
  color: #ffe600;
  margin-left: 0.5em;
}
.skills-title {
  font-size: 2em;
  margin-bottom: 1.2rem;
  color: #1976d2;
}
.skills-timeline {
  position: relative;
  margin-left: 1.2em;
  padding-left: 1.5em;
  border-left: 3px solid #1976d2;
}
.skills-item {
  position: relative;
  margin-bottom: 2.2em;
}
.skills-dot {
  position: absolute;
  left: -1.7em;
  top: 0.5em;
  width: 1.1em;
  height: 1.1em;
  background: #1976d2;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(25,118,210,0.10);
}
.skills-content {
  background: #f7faff;
  border-radius: 0.7em;
  padding: 1em 1.3em;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.skills-year {
  font-size: 1em;
  color: #1976d2;
  font-weight: 600;
  min-width: 90px;
}
.skills-name {
  font-size: 1.1em;
  margin: 0 0.7em 0 0.7em;
  flex: 1;
}
.skills-icon {
  font-size: 1.5em;
  color: #1976d2;
  margin-left: 0.5em;
}
      color: white;
      font-weight: 600;
      font-size: 0.95rem;
      border-radius: 28px;
      box-shadow: 0 3px 10px rgba(30, 144, 255, 0.3);
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .cv-download-btn:hover {
      background-color: #0d6efd;
      transform: scale(1.05);
      box-shadow: 0 5px 14px rgba(30, 144, 255, 0.5);
    }

    .project {
      background: #242424;
      padding: 1rem;
      border-radius: 6px;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 6px rgba(0,0,0,0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .project:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.6);
    }

    footer {
      text-align: center;
      padding: 1rem 0;
      font-size: 0.9rem;
      background: #1f1f1f;
      color: #888;
      margin-top: 4rem;
    }

    ul {
      padding-left: 1rem;
    }

    ul li {
      margin-bottom: 0.5rem;
      list-style: disc;
    }

    /* Reveal animation styles */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-out;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-8px);
      }
    }

    @media (max-width: 600px) {
      header {
        flex-direction: column;
        align-items: flex-start;
      }

      nav {
        margin-top: 0.5rem;
      }

      nav a {
        margin-left: 0;
        margin-right: 1rem;
      }

      #about {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    }

.social-section {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.social-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.arrow {
  color: #e6f57c;
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 0.5rem;
}
.social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-block;
  min-width: 120px;
  padding: 0.8rem 2.2rem;
  border-radius: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  margin-bottom: 0.5rem;
  border: none;
  letter-spacing: 0.5px;
}
.social-btn.linkedin {
  background: #23344d;
  color: #e6f57c;
}
.social-btn.facebook {
  background: #3a2c32;
  color: #ff4f8b;
}
.social-btn.instagram {
  background: #35362e;
  color: #f4ffb0;
}
.social-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 16px rgba(30,144,255,0.15);
  text-decoration: none;
}
.edu-section {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
    background: #232328;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(30,144,255,0.08);
  }
  .edu-left {
    flex: 0 0 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .edu-photo {
    width: 260px;
    height: 340px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(30,144,255,0.15);
    background: #18181c;
    border: 4px solid #e6f57c;
  }
  .edu-right {
    flex: 1 1 400px;
    min-width: 260px;
    color: #fff;
    padding-top: 0.5rem;
  }
  .edu-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #e6f57c;
    margin-bottom: 2.2rem;
    letter-spacing: 1px;
  }
  .edu-timeline {
    position: relative;
    margin-left: 1.2rem;
    border-left: 2px solid #e6f57c;
    padding-left: 2.2rem;
  }
  .edu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.2rem;
    position: relative;
  }
  .edu-dot {
    width: 18px;
    height: 18px;
    background: #e6f57c;
    border-radius: 50%;
    position: absolute;
    left: -2.8rem;
    top: 0.2rem;
    border: 3px solid #232328;
    box-shadow: 0 2px 8px rgba(30,144,255,0.08);
  }
  .edu-content {
    margin-left: 0.5rem;
  }
  .edu-year {
    font-size: 1.05rem;
    color: #e6f57c;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: block;
  }
  .edu-school {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.2rem 0 0.3rem 0;
    color: #fff;
  }
  .edu-desc {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 0.7rem;
  }
  .edu-cert-img {
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,144,255,0.15);
    margin-top: 0.7rem;
    border: 2px solid #e6f57c;
  }
  @media (max-width: 900px) {
    .edu-section {
      flex-direction: column;
      gap: 2rem;
      padding: 1.2rem 0.5rem;
    }
    .edu-left, .edu-right {
      min-width: 0;
      padding: 0;
    }
    .edu-photo {
      width: 100%;
      height: auto;
      max-width: 320px;
      margin: 0 auto 1.2rem auto;
    }
    .edu-timeline {
      margin-left: 0.2rem;
      padding-left: 1.2rem;
    }
  }