/* Dark Theme Portfolio CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
   overflow-x: hidden;
}

header {
  background: #1e1e1e;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;

    position: fixed;
  
  width: 100%;
 
}
.hero, .about, .projects {
  padding-top: 60px; /* adjust as per your header height */
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #00adb5;

}

.nav-links {
  list-style: none;
  display: flex;
   
  gap: 20px;
    position: fixed;
  top: 3.5rem; /* pushes menu below hamburger */
  left: 0;
  width: 100%;
  
  z-index: 999;
}
.nav-links.active {
  z-index: 1000;
  position: fixed; /* ensure it overlays properly */
}
.nav-links a:first-child {
  margin-top: 2rem; /* or try 3rem if needed */
}


.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00adb5;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
    z-index: 1100; /* higher than .nav-links to keep it clickable */
  position: relative;
    
 
  
  top: 1rem;
  right: 1rem;
  z-index: 1001; /* Stay on top */
}

.hero {
  padding: 100px 20px;
  text-align: center;
  background: #1e1e1e;
}

.hero h1 {
  font-size: 36px;
  color: #00adb5;
  animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero p {
  font-size: 18px;
  color: #aaa;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.about .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.profile-img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.bio {
  flex: 1;
}

.skills ul.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.skill-list li {
  background: #272727;
  padding: 8px 12px;
  border-radius: 20px;
  color: #00adb5;
}

.extended-skills h3 {
  color: #ffffff;
}

.extended-skills p {
  background: #1e1e1e;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.edu-box p,
.exp-box ul {
  margin-bottom: 10px;
}

.tag-button {
  display: inline-block;
  background-color: #1f1f1f;     /* dark base */
  color: #00ffff;                /* neon-cyan text */
  padding: 8px 16px;
  border-radius: 999px;          /* full round */
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tag-button:hover {
  background-color: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6), 0 0 24px rgba(0, 255, 255, 0.3);
}

.portfolio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.portfolio-item {
  width: 280px;
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.portfolio-item p {
  padding: 10px;
  color: #ddd;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background-color: #111;
  min-height: 100vh;
}

.contact h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.contact-box {
  background: #1e1e1e;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 100%;
}
.contact-box input,
.contact-box textarea {
  font-size: 1rem;
}

.contact-box button {
  font-size: 1rem;
  padding: 12px;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-box input,
.contact-box textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background: #2e2e2e;
  color: #fff;
  font-size: 1rem;
}

.contact-box textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-box button {
  background: #00adb5;
  border: none;
  padding: 12px;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-box button:hover {
  background: #019ca3;
}


footer {
  background: #1e1e1e;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin: 0;
  color: #aaa;
}

.social-media,
.profile-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.portfolio-item p {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-item:hover p {
  transform: translateY(-5px);
  opacity: 1;
}

.social-media a,
.profile-links a {
  color: #00adb5;
  text-decoration: none;
  font-weight: 500;
}

.social-media a:hover,
.profile-links a:hover {
  text-decoration: underline;
}
#profiles {
  text-align: center;
  padding: 60px 20px 40px;
}

#profiles h2 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 30px;
}

.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.profile-links a {
  color: #00ffff;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 22px;
  border: 1px solid #00ffff;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.profile-links a:hover {
  background-color: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}
@media (max-width: 500px) {
  .profile-links {
    flex-direction: column;
    gap: 12px;
  }
}
.contact {
  padding: 20px;
}

@media (max-width: 480px) {
  .contact-box {
    padding: 10px;
  }
}


@media (max-width: 768px) {
  /* Hide nav links initially */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 3.5rem; /* below hamburger */
    right: 0;
    width: 100%;
    padding: 1rem;
    z-index: 999;
    border-radius: 0 0 10px 10px;
  }

  /* Show nav when active */
  .nav-links.active {
    display: flex;
  }

  /* Hamburger style */
  .hamburger {
    display: block;
    font-size: 24px;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001; /* Above nav menu */
    cursor: pointer;
  }

  nav {
    position: relative;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

/* HERO Section */
.hero {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 65px; /* corrected: no space between 65 and px */
}

.hero img {
  max-width: 100%;
  height: auto;
}

.hero h1 {
  font-size: 2.3rem; /* corrected from 23 rem to 2.3rem */
  line-height: 2.5rem;
  word-break: break-word;
  margin: 0.5rem 0;
}

.hero p {
  font-size: 1rem;
  padding: 0 1rem;
}

 
  /* ABOUT & PORTFOLIO */
  .about .container,
  .portfolio-items {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  /* PROJECTS */
  .projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .project-card {
    width: 100%;
    margin-bottom: 20px;
  }

  /* CONTACT FORM */
  .contact-box {
    padding: 15px;
    width: 100%;
    max-width: 100%;
  }

  /* HEADINGS & BUTTONS */
  h1, h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .btn,
  .contact-box button {
    font-size: 1rem;
    padding: 10px 15px;
  }

  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}


.skill-list li:hover {
  background: #00adb5;
  color: #fff;
  transition: 0.3s ease;
}
.edu-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.edu-box p {
  background: #1e1e1e;
  border-left: 4px solid #00adb5;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.edu-box strong {
  color: #00adb5;
  font-size: 16px;
}


.exp-box {
  background: #1e1e1e;
  border-left: 4px solid #00adb5;
  padding: 20px 24px;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.exp-box h3 {
  color: #00adb5;
  margin-bottom: 8px;
}

.exp-box p {
  font-style: italic;
  color: #ccc;
  margin-bottom: 15px;
}

.exp-box ul {
  padding-left: 20px;
  color: #eee;
  line-height: 1.6;
}

.exp-box ul li {
  margin-bottom: 8px;
}
html {
  scroll-behavior: smooth;
}