/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background-color: #0d0d0d;
  color: #f2f2f2;
  scroll-behavior: smooth;
}

h2, h3 {
  color: #b06cff;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #8a2be2;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #b06cff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;

}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: #fff;
  font-size: 22px;
}

.logo span {
  color: #b06cff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 16px;
}

.nav-links a:hover {
  color: #b06cff;
}

/* ===== INTRO SECTION ===== */
.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  min-height: 90vh;
  padding: 50px;
  flex-wrap: wrap;
  text-align: left;
}

.intro-photo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #8a2be2;
}

.intro-text h2 {
  font-size: 36px;
}

.intro-text h2 span {
  color: #fff;
}

.intro-text h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #f2f2f2;
}

.intro-text p {
  max-width: 500px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #cfcfcf;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 50px;
  background-color: #141414;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #cfcfcf;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 80px 50px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill-card {
  background-color: #1a1a1a;
  border: 2px solid #8a2be2;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 18px;
  transition: 0.3s;
}

.skill-card:hover {
  background-color: #8a2be2;
  color: #fff;
}

/* ===== hobbiesS SECTION ===== */
.hobbies {
  padding: 80px 50px;
  background-color: #141414;
}

.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.hobbies-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 25px;
  width: 280px;
  border-top: 4px solid #8a2be2;
  transition: 0.3s;
}

.hobbies-card:hover {
  transform: translateY(-8px);
}

.hobbies-card p {
  color: #cfcfcf;
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 80px 50px;
  text-align: center;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #8a2be2;
  background-color: #1a1a1a;
  color: #f2f2f2;
  font-size: 15px;
}

.contact p {
  color: #cfcfcf;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background-color: #1a1a1a;
  text-align: center;
  padding: 20px;
  color: #cfcfcf;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .intro {
    text-align: center;
    justify-content: center;
  }

  .intro-text p {
    margin: 0 auto 20px auto;
  }
}

.back-btn{
    justify-content:center;
    display:flex;
    text-align:center;
  
}


.back-btn{
    display:block;
    width:fit-content;
    text-align:center;
    justify-content: center;
    margin:20px auto;
    padding:14px 28px;
    text-decoration:none;
    color:purple;
    border:2px solid purple;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.back-btn:hover{
    background:purple;
    color:#050816;
    transform:translateY(-5px);
}

.back-btn h2{
    font-size:18px;
}