:root {
    --text-color: #1a1c20;
    --link-color: #4a90e2;
    --background-color: #ffffff;
    --card-bg-color: #f5f5f5;
    --highlight-color: #4a90e2;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0 auto;
  }
  
  a {
    color: var(--link-color);
    text-decoration: none;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }
  
  nav .left a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
  }
  
  nav .right a {
    color: var(--text-color);
    margin: 0 10px;
  }
  
  nav .right a:last-child {
    background-color: var(--link-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
  }
  
  nav .right a span {
    margin-left: 5px;
  }
  
  .hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0 100px;
    gap: 40px;
  }
  
  .hero-section .text {
    flex: 5;
  }
  
  .hero-section .text h2 {
    font-size: 45px;
  }
  
  .hero-section .text .links {
    margin-top: 25px;
  }
  
  .hero-section .text .links a {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    color: var(--link-color);
  }
  
  .hero-section .text .links a:hover {
    background-color: var(--link-color);
    color: #fff;
  }
  
  .hero-section .headshot {
    flex: 2;
    display: flex;
    justify-content: right;
  }
  
  .hero-section .headshot img {
    width: 350px;
    border-radius: 50%;
    border: 4px solid var(--link-color);
  }
  
  .education-grid,
  .skills-grid,
  .projects-grid,
  .experience-grid,
  .certificates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
  }
  
  .education-card,
  .skill-card,
  .project-card,
  .experience-card,
  .certificate-card {
    flex: 1 1 300px;
    max-width: 300px;
    padding: 20px;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    text-align: center;
  }
  
  .education-card h3,
  .skill-card h3,
  .project-card h3,
  .experience-card h3,
  .certificate-card h3 {
    font-size: 18px;
    color: var(--highlight-color);
    margin-bottom: 10px;
  }
  
  .education-card p,
  .skill-card li,
  .project-card p,
  .experience-card p,
  .certificate-card p {
    font-size: 14px;
    color: #444;
  }
  
  .skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .resume-section {
    padding: 40px 20px;
    margin-bottom: 40px;
    color: #1a1c20;
    background-color: #e8f0fa;
    border-radius: 16px;
    text-align: center;
  }
  
  .contact-section {
    padding: 0 50px;
    margin-bottom: 100px;
  }
  
  .contact-section h2 {
    font-size: 35px;
  }
  
  .contact-section .group {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
  }
  
  .contact-section .text,
  .contact-section form {
    flex: 1;
    margin-top: 20px;
  }
  
  .contact-section form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-section input,
  .contact-section textarea {
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--link-color);
    background: transparent;
    color: var(--text-color);
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: vertical;
    border-radius: 8px;
  }
  
  .contact-section button {
    font: 16px 'Poppins', sans-serif;
    color: #fff;
    background: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
  }
  
  .contact-section button:hover {
    background-color: #3b78c2;
  }
  
  @media (max-width: 850px) {
    .hero-section .text h2 {
      font-size: 35px;
    }
  }
  
  @media (max-width: 740px) {
    .hero-section {
      flex-direction: column-reverse;
    }
  
    .hero-section .headshot img {
      width: 300px;
    }
  
    .contact-section .group {
      flex-direction: column;
    }
  }
  
  @media (max-width: 600px) {
    nav {
      padding: 0 20px;
    }
  
    nav .right a {
      font-size: 20px;
    }
  
    nav .right a:last-child {
      background-color: transparent;
      color: var(--text-color);
      padding: 0;
    }
  
    nav .right a span {
      display: none;
    }
  
    .hero-section {
      padding: 0 20px;
    }
  
    .hero-section .text h2 {
      font-size: 30px;
    }
  
    .skills-section {
      padding: 0 20px;
    }
  
    .contact-section {
      padding: 0 20px;
    }
  }
  