/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  }

  ::selection{
    background: #eafbff94;
    color: #303030;
  }
  
  
  body {
    background: radial-gradient(circle at top, #111 0%, #000 60%);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
  }

  section { scroll-margin-top: 40px; /* adjust to navbar height */ }
  
  /* ================= GLOBAL ================= */
  main {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px;
  }
  
  a {
    color: #aaa;
    text-decoration: none;
  }
  
  a:hover {
    color: #fff;
  }
  
  /* ================= NAV ================= */
  .navigation {
    margin: 30px 0;
  }
  
  .navigation ul {
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: center;
  }
  
  .navigation a {
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
  }
  
  .navigation a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  /* ================= PROFILE ================= */
  .profile-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 25px;
    padding: 25px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  }
  
  .profile-left img {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    object-fit: cover;
  }
  
  .profile-right h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .about-text {
    opacity: 0.85;
    margin-bottom: 15px;
  }
  
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  /* ================= SECTIONS ================= */
  section {
    margin-top: 40px;
  }
  
  section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  
  /* ================= CARD GRID ================= */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  
  /* ================= EXPERIENCE / EDUCATION / PROJECT CARDS ================= */
  article {
    background: rgba(255, 255, 255, 0.06);
    padding: 22px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    transition: all .5s ease-in-out;
  }

.extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.extra.show {
  max-height: 60px;
  opacity: 1;
}
  
  article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  }

  .experience-card{
    transition: all .5 ease-in-out;
  }
  
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .card-header span {
    font-size: 0.8rem;
    opacity: 0.7;
  }
  
  article p {
    opacity: 0.85;
    margin-bottom: 10px;
  }
  
  article ul {
    padding-left: 18px;
    margin-bottom: 15px;
    list-style-position: inside;
  }
  
  article ul li {
    opacity: 0.8;
    margin-bottom: 6px;
  }

  .education-card{
    margin: 10px 0px ;
  }
  
  /* ================= BUTTON ================= */
  button {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button:hover {
    background: rgba(255, 255, 255, 0.18);
  }
  
  /* ================= SKILLS ================= */
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  
  .skill-item {
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .skill-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
  }
  
  /* ================= CONTACT ================= */
  form {
    display: grid;
    gap: 14px;
    max-width: 500px;
  }
  
  input,
  textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #aaa;
  }
  
  /* ================= FOOTER ================= */
  footer {
    margin-top: 50px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
  }
  
  /* ================= RESPONSIVE ================= */
  @media (max-width: 768px) {
    .profile-card {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .profile-left img {
      margin: auto;
    }
  
    .navigation ul {
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  