* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

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

main {
  text-align: center;
  padding: 4rem 2rem;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro p {
  color: #888;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.scroll-down {
  font-size: 2rem;
  margin: 3rem 0;
  animation: bounce 2s infinite;
  color: #ffce00;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 0 1rem 3rem;
}

.project-card {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #e8c1b1;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 600px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

/* === Styles for updated HTML class names === */
.portfolio-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.portfolio-intro h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.portfolio-intro p {
  color: #aaa;
  font-size: 16px;
}

.scroll-indicator {
  text-align: center;
  font-size: 2rem;
  margin: 1rem 0;
  color: #555;
  animation: bounce 2s infinite;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.project-thumbnail {
  width: 90%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #1e1e1e;
}

.project-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.project-thumbnail:hover img {
  transform: scale(1.02);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* === Fix: Header class match for .portfolio-nav-left/right === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 92px;
  padding: 14px 4% 10px 4%;
  position: relative;
  z-index: 3;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

header::-webkit-scrollbar {
  display: none;
}

.portfolio-nav-left,
.portfolio-nav-right {
  display: flex;
  flex-shrink: 0;
}

.portfolio-nav-left a,
.portfolio-nav-right a {
  color: #ffce00;
  text-decoration: none;
  margin: 0 12px;
  font-size: 9px;
  transition: color 0.3s;
}

.portfolio-nav-left a:hover,
.portfolio-nav-right a:hover {
  color: #ffa700;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.portfolio-about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.portfolio-about-image {
  flex: 1;
  max-width: 500px;
}

.portfolio-about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.portfolio-about-text {
  flex: 2;
  max-width: 600px;
  margin-bottom: -50px;
}

.portfolio-about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio-about-text p {
  color: #ccc;
  font-size: 10px;
  line-height: 1.6;
}

/* === CONTACT PAGE === */

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

/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 100px auto;
  padding: 0 20px;
}

.contact-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 15px;
  font-size: 14px;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: white;
  font-size: 14px;
  resize: vertical;
}

button {
  background-color: #ffce00;
  color: rgb(255, 255, 255);
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

button:hover {
  background-color: rgba(255, 166, 0, 0.925);
  color: white;
}
@media screen and (max-width: 768px) {
  .portfolio-about {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .portfolio-about-image img {
    max-width: 90%;
    margin: 0 auto;
  }

  .portfolio-about-text {
    padding-top: 1rem;
  }
}

footer
{
  text-align: center;
  font-size: 10px;
  opacity: 50%;
  margin-bottom: 20px;
}

.portfolio-about-text .skills {
  margin-top: 2rem;
}

.skills {
  width: 70%;
  margin: 2rem auto 0 auto;
}

.skills h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center
}

.skill {
  margin-bottom: 1.2rem;
}

.skill span {
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
  color: #ccc;
  font-size: 0.9rem;
}

.skill-bar {
  width: 100%;
  height: 20px;
  background: #1f1f1f;
  border-radius: 30px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  line-height: 20px;
  padding-right: 10px;
  font-size: 12px;
  color: #fff;
  text-align: right;
  border-radius: 30px;
  animation: fillAnimation 2s ease-out forwards;
}

/* Skill fill colors */
.skill-fill.html {
  width: 60%;
  background: linear-gradient(to right, #ffce00, #ffce00);
}

.skill-fill.css {
  width: 80%;
  background: linear-gradient(to right, #ffce00, #ffce00);
}

.skill-fill.js {
  width: 40%;
  background: linear-gradient(to right, #ffce00, #ffce00);
}

.skill-fill.photoshop {
  width: 90%;
  background: linear-gradient(to right, #ffce00, #ffce00);
}

@keyframes fillAnimation {
  from {
    width: 0;
  }
}
.go-back-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: background 0.3s ease;
  color: black;
  display: none;
}

.go-back-btn:hover {
  background: #0e0e0e;
  color: white;
}

.skills-icons {
  width: 80%;
  margin: 3rem auto;
  font-family: 'Inter', sans-serif;
}

.skill-category {
  margin-bottom: 1rem;
}

.skill-category h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color:  #ffce00;
  border-left: 4px solid #ffce00;
  padding-left: 10px;
  text-align: left;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 0.35rem 1.2rem;
  border-radius: 12px;
  font-size: 0.55rem;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
}

.skill-list li i {
  font-size: 1.2rem;
  color: #ffce00;
  min-width: 20px;
}

.skill-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
 li {
    user-select: none;
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none;    /* For Firefox */
    -ms-user-select: none;     /* For IE/Edge */
  }
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1400px; /* Wider container */
  margin: 40px auto;
  padding: 20px;
}

.project-card {
  width: 100%;
  height: 450px; /* Slightly taller to match wider look */
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Responsive: stack cards in 1 column on smaller screens */
@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 300px;
  }
}
.link-categories
{
  text-align: center;
}

 .social-icons {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: inline-flex;
    gap: 15px;
    
  }
  .social-icons li a {
    display: inline-flex;
    font-size: 20px;
    color: #ffce00;
    transition: color 0.3s;
   
  }
  .social-icons li a:hover {
    color: #ff9900; /* You can set different hover colors per icon if you want */
  }
