* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '  Inter', sans-serif;
}
html {
    scroll-behavior: smooth;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background: #1a2435;
    position: sticky;
    top: 0;
    z-index: 100;
}
body{
    background: #0F172A;
}
.logo{
 height: 70px;
 width: 70px;
 border-radius: 50%;
 display: flex;
}
nav {
      position: sticky;
      
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 60px;
      padding: 6px 8px;
      border: 0.5px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(15px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
      list-style: none;
    }

    nav a {
      position: relative;
      z-index: 1;
      display: block;
      padding: 10px 22px;
      border-radius: 60px;
      color: #aaa;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      white-space: nowrap;
      transition: color 0.3s ease;
      cursor: pointer;
    }

    nav a:hover,
    nav a.active {
      color: #0a0a0a;
    }

    .indicator {
      position: absolute;
      top: 6px;
      left: 8px;
      height: calc(100% - 12px);
      border-radius: 60px;
      background: #60A5FA;
      z-index: 0;
      pointer-events: none;
      transition:
        left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .intro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100%;
    color: #fff;
    font-size: 40px;
    }


.intro {
  margin-top: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* shared style */
.intro h3 {
  white-space: nowrap;
  overflow: hidden;
  color: #F8FAFC;
  width: 0;
  font-family: 'inter', sans-serif;
}

/* NAME */
.line1 {
  font-size: 2.5rem;
  animation: typing1 1s steps(10, end) forwards;
}

/* ROLE */
.line2 {
  color: #38BDF8;
  animation: typing2 1.5s steps(30, end) forwards;
  animation-delay: 1s;
   margin-top: 10px;
}

/* TAGLINE */
.line3 {
  color: #94A3B8;
  font-size: 1.7rem;
  animation: typing3 1.5s steps(40, end) forwards;
  animation-delay: 2.5s;
  margin-top: 10px;
}

/* KEYFRAMES */
@keyframes typing1 {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes typing2 {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes typing3 {
  from { width: 0; }
  to { width: 100%; }
}
.profile-pic{
    height: 200px;
    width: 200px;
    border-radius: 50%;
    margin-top: 20px;
}

.buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary{
    text-decoration: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Primary Button */
.btn-primary{
    background: #60A5FA;
    color: white;
    border: 2px solid #60A5FA;
}

.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4);
}

/* Secondary Button */
.btn-secondary{
    color: #60A5FA;
    border: 2px solid #60A5FA;
    background: transparent;
}

.btn-secondary::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #60A5FA;
    transition: 0.4s;
    z-index: -1;
}

.btn-secondary:hover::before{
    left: 0;
}

.btn-secondary:hover{
    color: white;
    transform: translateY(-3px);
}
.about{
  height: 5vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 50px;

}
#aboutme{
  color: #38bdf8;
  font-size: 37px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.desc{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
#description{
  color: #ffffff;
  font-size: 1.2rem;
  max-width: 600px;
  font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
  margin: 0;
}

/* Section */
.education {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #38bdf8;
}

/* Grid */
.edu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* Card */
.edu-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Hover effect */
.edu-card:hover {
  transform: translateY(-10px);
  border: 1px solid #38bdf8;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
}

/* Icon */
.edu-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Text */
.edu-card h3 {
  margin: 10px 0;
  font-size: 18px;
}

.edu-place {
  color: #94a3b8;
  font-size: 14px;
}

.edu-year {
  color: #cbd5e1;
  margin: 5px 0;
}

.edu-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  padding: 5px 10px;
  background: #0ea5e9;
  border-radius: 20px;
}
body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
  margin: 0;
}

.skills {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.skills-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  width: 380px;
}

/* TITLE */
.skills-card h3 {
  color: #38bdf8;
  margin-bottom: 20px;
}

/* SKILL ROW */
.skill {
  margin-bottom: 18px;
}

/* TOP ROW */
.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

/* ICONS */
.skill-top i {
  font-size: 20px;
  margin-right: 8px;
}

/* BAR */
.bar {
  height: 8px;
  background: #334155;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 6px;
}

.fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 20px;
}

/* SOFT SKILLS */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.badges span {
  background: #0ea5e9;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 15px;
  transition: 0.3s;
}

.badges span:hover {
  transform: scale(1.1);
  background: #38bdf8;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
}

.projects {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 40px;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* CARD */
.project-card {
  display: flex;
  gap: 20px;
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  width: 800px;
  transition: 0.3s;
  
}

/* HOVER */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

/* FEATURED CARD */
.featured {

  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* IMAGE */
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.project-img {
  width: 40%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a; /* or #1e293b */
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card:hover .project-img img {
  transform: scale(1.05);
}

/* CONTENT */
.project-content {
  padding: 20px;
  text-align: left;
  width: 60%;
}

.tag {
  display: inline-block;
  background: #0ea5e9;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* TECH STACK */
.tech {
  margin: 10px 0;
}

.tech span {
  background: #334155;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-right: 5px;
}

/* BUTTONS */
.buttons {
  margin-top: 15px;
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  background: #38bdf8;
  color: black;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

.btn.outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: black;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
}

.experience {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 40px;
}

/* container */
.exp-container {
  display: flex;
  justify-content: center;
}

/* card */
.exp-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  width: 700px;
  text-align: left;
  transition: 0.3s;
  border-left: 4px solid #38bdf8;
}

/* hover */
.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
}

/* header */
.exp-header h3 {
  margin: 0;
  color: #38bdf8;
  font-size: 20px;
}

.company {
  display: block;
  color: #cbd5e1;
  margin-top: 5px;
}

.duration {
  display: inline-block;
  margin-top: 5px;
  font-size: 13px;
  color: #94a3b8;
}

/* summary */
.exp-summary {
  margin-top: 15px;
  color: #cbd5e1;
}

/* list */
.exp-list {
  margin-top: 15px;
  padding-left: 18px;
}

.exp-list li {
  margin-bottom: 8px;
  color: #e2e8f0;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
}

.achievements {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 40px;
}

.ach-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.ach-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  width: 350px;
  text-align: left;
  transition: 0.3s;
}

/* hover */
.ach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
}

/* headings */
.ach-card h3 {
  color: #38bdf8;
  margin-bottom: 15px;
}

/* learning badge */
.learning .status {
  background: #f59e0b;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-left: 10px;
}

/* text */
.ach-card p {
  color: #cbd5e1;
  font-size: 14px;
}

/* list */
.ach-card ul {
  padding-left: 18px;
}

.ach-card li {
  margin-bottom: 8px;
  color: #e2e8f0;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
}

.contact {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  color: #38bdf8;
  margin-bottom: 40px;
}

/* CONTAINER */
.contact-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-info {
  width: 350px;
  text-align: left;
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
}

.contact-info h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.contact-info p {
  color: #cbd5e1;
  font-size: 14px;
}



/* SOCIAL LINKS */
.socials {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ICON BASE STYLE */
.icon {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  font-size: 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
  background: #334155;
  padding: 0 12px;
  gap: 10px;
  box-sizing: border-box; 
}
.icon i {
  flex-shrink: 0;
}

.icon span {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* HOVER EFFECT */

/* EMAIL UNIQUE HOVER */
.mail:hover {
  background: linear-gradient(45deg, #3b82f6, #38bdf8, #0ea5e9);
  color: white; /* IMPORTANT FIX */
}

/* icon color fix */
.mail:hover i {
  color: white;
}

/* text color fix */
.mail:hover span {
  color: white;
}
.icon:hover {
  transform: translateY(-5px) scale(1.1);
}

/* BRAND COLORS ON HOVER */
.github:hover {
  background: #000;
}

.linkedin:hover {
  background: #0a66c2;
}

.instagram:hover {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.socials a {
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  color: #0ea5e9;
  transform: translateX(5px);
}

/* FORM */
.contact-form {
  width: 350px;
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
}

/* INPUT BOX */
.input-box {
  position: relative;
  margin-bottom: 20px;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 8px;
  color: white;
  outline: none;
}

/* FLOAT LABEL */
.input-box label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #94a3b8;
  transition: 0.3s;
  pointer-events: none;
}

/* ANIMATION */
.input-box input:focus ~ label,
.input-box input:valid ~ label,
.input-box textarea:focus ~ label,
.input-box textarea:valid ~ label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #38bdf8;
  background: #1e293b;
  padding: 0 5px;
}

/* BUTTON */
button {
  width: 100%;
  padding: 12px;
  background: #38bdf8;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #0ea5e9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 400px;
  }
}

.footer {
    background: #0b1120;
    border-top: 1px solid #1e293b;
    padding: 50px 20px 30px;
    text-align: center;
}

.footer-content h3 {
    color: #38bdf8;
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-tagline {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: #1e293b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-5px);
}

/* GitHub */
.footer-socials a:nth-child(1):hover {
    background: #000;
    color: white;
}

/* LinkedIn */
.footer-socials a:nth-child(2):hover {
    background: #0a66c2;
    color: white;
}

/* Instagram */
.footer-socials a:nth-child(3):hover {
    background: linear-gradient(
        45deg,
        #f9ce34,
        #ee2a7b,
        #6228d7
    );
    color: white;
}

.footer-status {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 25px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 14px;
    margin: 6px 0;
}

@media (min-width: 1200px) {
  .project-card {
    width: 900px;
  }

  .skills-card {
    width: 420px;
  }
}

@media (max-width: 1199px) {
  .project-card {
    width: 90%;
  }

  .exp-card {
    width: 90%;
  }
}

@media (max-width: 991px) {

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }

  .intro {
    font-size: 28px;
    height: auto;
    padding: 60px 20px;
  }

  .project-card {
    flex-direction: column;
    width: 95%;
  }

  .project-img,
  .project-content {
    width: 100%;
  }

  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .skills-card {
    width: 90%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 767px) {

  .line1 {
    font-size: 2rem;
  }

  .line2 {
    font-size: 1.2rem;
  }

  .line3 {
    font-size: 1rem;
  }

  .profile-pic {
    width: 150px;
    height: 150px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .edu-container {
    grid-template-columns: 1fr;
  }

  .ach-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 100%;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}
@media (max-width: 575px) {

  .container {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .intro h3 {
    white-space: normal;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 80%;
    text-align: center;
  }

  .project-card {
    padding: 10px;
  }

  .exp-card,
  .ach-card,
  .contact-info,
  .contact-form {
    width: 95%;
  }

  .footer-socials {
    flex-wrap: wrap;
  }
}