  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0F0F0F;
  color: white;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 22px 35px;
  z-index: 99999;

  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333333;
}

.navbar .menu-btn {
  display: none;
  color: #ffffff;
  font-size: 22px;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

.logo span {
  color: #EB6847;
}

.links {
  display: flex;
  gap: 35px;
}

.links a {
  text-decoration: none;
  color: #999999;
  font-size: 15px;
}

.links a:hover {
  color: #F2F2F2;
}

.links a.active {
  color: #EB6847;
  font-weight: 700;
}

.btn {
  text-decoration: none;
  background-color: white;
  color: rgba(0, 0, 0, 0.896);
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 100;
}

.btn2 {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.896);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  border: 2px solid #999999;
  font-size: 15px;
  font-weight: 100;
}

.big {
  font-weight: 500;
}

/* ham burger */

.menu-btn {

  display: none;

  cursor: pointer;

  font-size: 1.8rem;

}

@media (max-width: 768px) {

  .menu-btn {

    display: block;

  }

  .links {

    position: absolute;

    top: 80px;

    right: -100%;

    width: 220px;

    display: flex;

    flex-direction: column;

    gap: 1rem;

    padding: 1.5rem;

    background: #111;

    border: 1px solid #222;

    border-radius: 12px;

    transition: right 0.3s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);

}

  }

  .links.show-menu {
    display: flex;
    right: 20px;

  }

  .links a {

  padding: 8px 0;

}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 140px 60px 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-left {
  width: 50%;
}

.tag {
  color: #EB6847;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 83px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h1 .name {
  background-image: url(https://images.unsplash.com/photo-1615714572271-c27154d098c7?q=80&w=2340&auto=format&fit=crop);
  background-position: center;
  background-size: cover;
  background-clip: text;
  color: transparent;
  font-family: cursive;
}

.hero h1 .sub {
  color: #999999;
  font-size: 72px;
}

.description {
  color: #999999;
  font-size: 15px;
  letter-spacing: 0.2px;
  max-width: 520px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-buttons {
  width: fit-content;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 18px;
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;

  transition: 0.2s;
}

.social a:hover {
  border-color: rgba(235, 104, 71, 0.6);
  transform: translateY(-2px);
}

.social i {
  font-size: 18px;
}

.hero-right {
  width: 50%;
  display: flex;
  justify-content: center;
}

.card {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgb(35, 35, 35);

  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.circle {
  width: 340px;
  height: 340px;


  border-radius: 50%;


  background-image: url(./assest/profile.jpg);
  background-size: cover;
  background-position: center;
}

/* media queries */


@media (max-width: 900px) {
  .links {
    display: none;
  }

  .talk-btn {
    display: none;
  }

  .navbar .menu-btn {
    display: block;
  }

  .hero {
    flex-direction: column;
    padding: 95px 20px 40px;
    text-align: center;
    gap: 30px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero h1 .sub {
    font-size: 44px;
  }

  .description {
    font-size: 14px;
    max-width: 340px;
    margin: 0 auto 18px;
  }

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

  .hero-buttons a {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .card {
    width: 300px;
    height: 300px;
  }

  .circle {
    width: 250px;
    height: 250px;
  }

  .social {
    justify-content: center;
  }
}


 /* for 400px */

@media (max-width: 400px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero h1 .sub {
    font-size: 38px;
  }
}

/* Sections */
.section {
  padding: 80px 60px;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.text {
  color: #bdbdbd;
  line-height: 1.6;
  max-width: 800px;
}

/* About cards */
.cards {
  display: flex;
  gap: 18px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.info-card {
  flex: 1;
  min-width: 220px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p {
  color: #bdbdbd;
}

/* Projects */
.projects {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.project {
  flex: 1;
  min-width: 260px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-img {
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project p {
  color: #bdbdbd;
  margin-top: 6px;
}

/* Skills */

#skill-section{
  display: flex;
  justify-content: center;
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;

  width: 800px;
}

.skill-card {
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 18px;
  color: #dcdcdc;

  transition: 0.2s;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: #EB6847;
}


 /* github section */

.github-section {
  margin-top: 40px;
}

.github-section h2 {
  margin-bottom: 25px;
  text-align: left;   /* heading stays in normal position */
}


.github-card {

  width: min(100%, 1000px);

  margin: 0 auto;
  padding: 24px;

  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.03);

}

.github-card img {
  display: block;
  width: 100%;
  max-width: 950px;
}

/* Form */
.form {
  max-width: 600px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form input,
.form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  outline: none;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #bdbdbd;
}

.msg {
  margin-top: 8px;
  color: #EB6847;
  font-size: 14px;
}

/* Footer */
.footer {
  padding: 30px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #bdbdbd;
  text-align: center;
}

/* Responsive sections */
@media (max-width: 900px) {
  .section {
    padding: 60px 20px;
  }

  .section h2 {
    font-size: 28px;
  }
}

