
    /* Reset */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      margin: 0; padding: 0;
      font-family: 'Inter', sans-serif;
      background: #0f172a;
      color: #e0e7ff;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding: 0 16px;
    }
    a {
      color: #14b8a6;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    a:hover, a:focus {
      color: #22d3ee;
      outline: none;
    }
    h1, h2, h3, h4 {
      font-weight: 800;
      margin-bottom: 0.5rem;
      color: #a5b4fc;
    }
    h1 {
      font-size: 2.5rem;
      line-height: 1.1;
    }
    h2 {
      font-size: 2rem;
      margin-top: 48px;
    }
    h3 {
      font-size: 1.25rem;
    }
    p {
      margin-bottom: 1rem;
      color: #cbd5e1;
    }
    header {
      width: 100%;
      max-width: 1200px;
      background: linear-gradient(90deg, #0f172a 0%, #0f172add 100%);
      backdrop-filter: saturate(180%) blur(12px);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 12px 24px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-bottom: 1px solid #1e293b;
      box-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
      position: relative;
    }
    nav {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      justify-content: center;
    }
    nav a {
      font-weight: 600;
      font-size: 1rem;
      padding: 8px 12px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }
    nav a:hover, nav a:focus {
      background-color: #14b8a6;
      color: #0f172a;
    }
    main {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto 64px;
      padding-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 48px;
    }
    section {
      padding-bottom: 16px;
      border-bottom: 1px solid #334155;
    }
    /* About Section */
    #about {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
      text-align: center;
      position: relative;
    }
    #about img {
      border-radius: 20px;
      max-width: 300px;
      width: 100%;
      box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
      aspect-ratio: 1 / 1;
      object-fit: cover;
      align-self: center;
    }
    #about p {
      max-width: 720px;
      font-size: 1.1rem;
      color: #e0e7ffcc;
    }
    /* Contact icon button below picture */
    #about-contact {
      margin-top: 8px;
      display: flex;
      justify-content: center;
      width: 100%;
      align-items: center;
    }
    #about-contact a {
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px;
      border: 1.5px solid #14b8a6;
      border-radius: 50%;
      transition: background-color 0.3s ease;
      white-space: nowrap;
      cursor: pointer;
      width: 44px;
      height: 44px;
      color: #14b8a6;
    }
    #about-contact a:hover,
    #about-contact a:focus {
      background-color: #14b8a6;
      color: #0f172a;
      outline: none;
    }
    /* Resume Section */
    #resume {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 720px;
      margin: 0 auto;
    }
    #resume-download {
      align-self: flex-start;
      margin-bottom: -8px;
    }
    #resume-download a {
      color: #22d3ee;
      font-weight: 600;
      border: 1.5px solid #22d3ee;
      padding: 10px 20px;
      border-radius: 12px;
      max-width: fit-content;
      text-decoration: none;
      transition: background-color 0.3s ease;
      display: inline-block;
    }
    #resume-download a:hover, #resume-download a:focus {
      background-color: #22d3ee;
      color: #0f172a;
      outline: none;
    }
    #resume ul {
      list-style: none;
      padding-left: 0;
      margin-top: 0;
    }
    #resume li {
      margin-bottom: 16px;
      border-left: 4px solid #22d3ee;
      padding-left: 12px;
      position: relative;
      transition: background-color 0.3s ease;
      cursor: default;
      border-radius: 8px;
      background-color: #1e293b;
    }
    #resume li:hover {
      background-color: #14b8a6cc;
    }
    #resume li span.date {
      font-size: 0.9rem;
      color: #94a3b8;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      white-space: nowrap;
    }
    /* Skills Section */
    #skills .skill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 720px;
      margin: 0 auto;
    }
    .skill {
      background-color: #1e293b;
      padding: 12px 20px;
      border-radius: 12px;
      font-weight: 600;
      color: #22d3ee;
      box-shadow: 0 4px 12px rgba(20, 184, 166, 0.5);
      user-select: none;
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 110px;
      justify-content: center;
    }
    #skills img{
      max-width: 25px;
      max-height: 25px;
    }
    /* Certifications Section */
    #certifications .cert-list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 720px;
      margin: 0 auto;
      justify-content: center;
    }
    .certificate-link {
      color: inherit;
      text-decoration: none;
      border-radius: 16px;
      box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 20px;
      background-color: #1e293b;
      padding: 20px;
      cursor: pointer;
      user-select: none;
      max-width: 320px;
      flex: 1 1 320px;
      min-width: 280px;
    }
    .certificate-link:hover,
    .certificate-link:focus {
      background-color: #14b8a6cc;
      outline: none;
      color: #0f172a;
    }
    .certificate img {
      height: 64px;
      width: 64px;
      border-radius: 12px;
      object-fit: fit;
      flex-shrink: 0;
      box-shadow: 0 0 6px #22d3ee;
    }
    .certificate-info {
      flex: 1;
    }
    .certificate-info h4 {
      margin: 0 0 4px;
      color: #82f7e1;
    }
    .certificate-info p {
      margin: 0;
      font-size: 0.95rem;
      color: #a4bede;
    }
    /* Projects Section */
    #projects .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 28px;
      max-width: 100%;
      margin: 0 auto;
    }

    #cert_img{
      max-width: 64px;
      max-height: 64px;
    }
    .project-card {
      background-color: #1e293b;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(20, 184, 166, 0.3);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
      cursor: pointer;
      user-select: none;
    }
    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 30px rgba(20, 184, 166, 0.6);
    }
    .project-image img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      border-top-left-radius: 24px;
      border-top-right-radius: 24px;
    }
    .project-content {
      padding: 16px 20px 24px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-grow: 1;
    }
    .project-title {
      font-weight: 700;
      font-size: 1.2rem;
      color: #14b8a6;
    }
    .project-desc {
      font-size: 0.95rem;
      color: #cbd5e1;
      flex-grow: 1;
    }
    .project-links {
      margin-top: auto;
      display: flex;
      gap: 12px;
    }
    .project-links a {
      color: #22d3ee;
      border: 1.5px solid #22d3ee;
      padding: 6px 12px;
      border-radius: 16px;
      font-weight: 600;
      font-size: 0.85rem;
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .project-links a:hover,
    .project-links a:focus {
      background-color: #22d3ee;
      color: #0f172a;
      outline: none;
    }
    /* Contact Section */
    #contact {
      max-width: 720px;
      background-color: #1e293b;
      padding: 32px 32px 40px;
      border-radius: 24px;
      box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: flex-start;
      margin: 0 auto;
    }
    #contact h2 {
      margin-top: 0;
      color: #22d3ee;
    }
    #contact .contact-link {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 600;
      font-size: 1.1rem;
      color: #14b8a6;
      text-decoration: none;
      border: 1.5px solid #14b8a6;
      padding: 10px 20px;
      border-radius: 14px;
      transition: background-color 0.3s ease;
      user-select: text;
      max-width: fit-content;
      white-space: nowrap;
    }
    #contact .contact-link:hover,
    #contact .contact-link:focus {
      background-color: #14b8a6;
      color: #0f172a;
      outline: none;
      cursor: pointer;
    }
    #contact .material-icons {
      font-size: 24px;
      flex-shrink: 0;
    }
    /* Mobile hamburger button */
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: #22d3ee;
      font-size: 2rem;
      cursor: pointer;
      user-select: none;
      padding: 0;
      position: absolute;
      right: 24px;
      top: 14px;
      z-index: 1050;
    }
    /* Footer */
    footer {
      width: 100%;
      max-width: 1200px;
      margin: 64px auto 24px;
      text-align: center;
      font-size: 0.9rem;
      color: #64748b;
    }

 

    #myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(6, 23, 216);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}

#myBtn:hover {
  background-color: #0a07b2;
}

.career-header {
    display: flex; /* Establish flex container */
    flex-direction: column; /* Default to column on mobile */
    align-items: center;
    padding: 8px;
    margin: 5px;
    margin-bottom: 0; 
  }

  /* Media query for desktop screens (or larger) */
  @media (min-width: 768px) { /* Adjust breakpoint as needed */
    .career-header {
      flex-direction: row; /* Change to row on desktop */
      justify-content: space-between; /* Place items at two ends */
      align-items: center; /* Keep items vertically centered */
    }
  }

  .position {
    font-weight: bold;
    /* Optional: Add some spacing on mobile */
    margin-bottom: 5px; 
  }

  .dates {
    /* Optional: Remove any default margins that might interfere */
    margin-top: 0;
    margin-bottom: 0;
  }



    /* Responsive */
    @media (max-width: 768px) {
      body {
        padding: 0 12px;
      }
      main {
        gap: 40px;
      }
      #about {
        align-items: center;
        text-align: center;
      }
      #about p {
        max-width: 100%;
      }
      #about img {
        max-width: 180px;
      }
      #about-contact {
        flex-direction: column;
        gap: 12px;
        margin-top: 4px;
      }
      nav {
        display: none;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background: #0f172a;
        border-top: 1px solid #14b8a6;
        border-radius: 0 0 16px 16px;
        position: fixed;
        top: 60px;
        right: 24px;
        box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
        z-index: 1100;
        transform-origin: top right;
        transform: scaleY(0);
        transition: max-height 0.3s ease, transform 0.3s ease;
      }
      nav.open {
        display: flex;
        max-height: 500px; /* enough to show all links */
        transform: scaleY(1);
      }
      nav a {
        padding: 12px 24px;
        border-radius: 0;
        border-top: 1px solid #14b8a6;
      }
      nav a:first-child {
        border-top: none;
      }
      .mobile-toggle {
        display: block;
      }
      nav a {
        white-space: normal;
      }
      #skills .skill-list {
        gap: 12px;
      }
      .skill {
        min-width: 90px;
        font-size: 0.9rem;
        padding: 10px 16px;
      }
      #resume li span.date {
        font-size: 0.8rem;
        right: 12px;
      }
      #projects .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      #certifications .certificate-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        max-width: 100%;
      }
      .certificate-link img {
        height: 56px;
        width: 56px;
      }
      #contact {
        padding: 24px 20px 32px;
        align-items: center;
      }
      #contact .contact-link {
        justify-content: center;
        width: 100%;
        max-width: none;
      }
      #resume-download {
        margin-bottom: 16px;
      }
    }
