:root {
  --primary: rgb(162, 95, 224);
  --primary-light: rgb(185, 136, 231);
  --dark: #1a2332;
  --bg: #fdfdff;
  --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

header { position: sticky; top: 0; z-index: 1000; background: white; border-bottom: 1px solid rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 0 10%; height: 80px; }
.name { font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.name span { color: var(--dark); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { text-decoration: none; color: var(--text); margin-left: 30px; font-weight: 500; transition: 0.3s; }
.nav-links li a:hover { color: var(--primary); }
.res-link { color: var(--primary) !important; font-weight: 600 !important; }

#check { display: none; }
.checkbtn { font-size: 30px; color: var(--primary); cursor: pointer; display: none; }

.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  min-height: 85vh; display: flex; align-items: center; justify-content: space-between;
  padding: 0 10%; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); color: white;
}

.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.highlight { color: var(--dark); }
.btn-main {
  display: inline-block; padding: 14px 40px; background: var(--dark); color: white;
  text-decoration: none; border-radius: 50px; margin-top: 1.5rem; font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: 0.3s;
}
.btn-main:hover { transform: translateY(-3px); background: #000; }

.hero-img-container img {
  width: clamp(250px, 30vw, 350px); height: clamp(250px, 30vw, 350px);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  border: 8px solid rgba(255,255,255,0.2); object-fit: cover;
  animation: morph 6s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Updated About Me Styles */
.about-section { padding: 40px 10%; }
.section-title { text-align: center; margin-bottom: 30px; }
.purple-line { width: 50px; height: 4px; background: var(--primary); margin: 10px auto; border-radius: 2px; }

.about-card { 
  max-width: 700px; 
  margin: 0 auto; 
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: left; 
}

.education-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; max-width: 1100px; margin: 0 auto; padding: 20px;
}
.edu-card { background: white; padding: 35px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.edu-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary); }

.contact-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.contact-info { background: #f4f7fa; padding: 40px; border-radius: 20px; }
.link-item { text-decoration: none; color: var(--primary); font-weight: 600;}
.contact-form { display: flex; flex-direction: column; gap: 15px;  }
.form-row { display: flex; gap: 15px; }
input, textarea { padding: 14px; border: 1px solid #ddd; border-radius: 10px; width: 100%; font-family: inherit; }
textarea { height: 160px; resize: none; }
.contact-form button { background: var(--primary); color: white; border: none; padding: 16px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }

footer { background: var(--dark); color: white; text-align: center; padding: 40px; margin-top: 100px; }

@media (max-width: 858px) {
  .checkbtn { display: block; }
  .nav-links {
    position: fixed; width: 100%; height: 100vh; background: var(--dark);
    top: 80px; left: -100%; text-align: center; transition: all .5s;
    flex-direction: column; padding-top: 50px;
  }
  .nav-links li { margin: 25px 0; }
  .nav-links li a { margin: 0; font-size: 20px; color: white; }
  #check:checked ~ .nav-links { left: 0; }
  .hero { flex-direction: column-reverse; text-align: center; padding: 80px 5% 60px; clip-path: none; }
  .form-row { flex-direction: column; }
}

.one{
  text-decoration: none;
  color: black;
}