*{
    padding: 0;
    margin:0;
}
body{
  overflow-x: hidden;
}
#aboutMe{
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
 background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #a1c4fd, #c2e9fb); /*-- light background */
/* background: linear-gradient(-45deg, #1e3c72, #2a5298, #0f2027, #203a43); -- dark background */
background-size: 400% 400%;
animation: gradientBG 10s ease infinite;
 /* color: white; --- for dark backgrounds */
color: #000000;/* -- for light background */
text-align: center;
}

@keyframes gradientBG {
0% {
   background-position: 0% 50%; 
  }
50% { 
  background-position: 100% 50%; 
}
100% {
   background-position: 0% 50%;
   }
}
#aboutMe div{
    height:100dvh;
    align-content: center;
}

#project{
    display: flex;
    flex-direction: column;
    /* background-color: rgba(158, 14, 14, 0.734); */
}

#project a{
    background-color: rgb(195, 28, 56);
}

#proItems{
    display: flex;
    /* flex-direction: row; */
}
.hide{
    visibility: hidden;
}

/* SIDEBAR CONTAINER */
#sidebar {
    position: fixed;
    top: 7vh;
    right: 0;
    width: 280px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -10px 0 25px rgba(0,0,0,0.1);
}

/* ACTIVE STATE */
#sidebar.active {
    transform: translateX(0%);
}

/* MENU HEADING */
#sidebar span.fs-4 {
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0d6efd;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

/* DIVIDER */
#sidebar hr {
    opacity: 0.2;
}

/* NAV LINKS */
#sidebar .nav-link {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin: 6px 0;
    padding: 10px 12px;
    color: #333;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
#sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #0d6efd;
    transform: translateX(-5px);
}

/* ACTIVE LINK */
#sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

  /* Skills Section */
#skills {
  background: linear-gradient(135deg, #fdf4ff, #f0fdfa);
  padding: 4rem 2rem;
  text-align: center;
}

#skills h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.skill-card:hover {
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-top: 1rem;
}

.skill-card h3 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.skill-card.learning {
  border: 2px dashed #8b5cf6;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c084fc;
  color: white;
  padding: 4px 10px;
  font-size: 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
}

   /* Projects Section Styles */
#project {
  background: linear-gradient(135deg, #dbeafe, #f0fdf4);
  padding: 4rem 2rem;
}

#project h1 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

#proItems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}
.project-detail{
  font-size: 12px;
  color: #000000;
  margin:0%;
  /* line-height: 0%; */
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.card-body {
  padding: 1rem;
}

.btn-secondary {
  background-color: #2563eb;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background-color: #1e40af;
}

@media (max-width: 576px) {
  #project {
    padding: 2rem 1rem;
  }

  .card img {
    height: 140px;
  }

  #project h1 {
    font-size: 1.5rem;
  }
}


  #resume{
    margin: 4rem;
     background: linear-gradient(-45deg, #1e3c72, #2a5298, #0f2027, #203a43); 
     background-size: 400% 400%;
    animation: gradientBG 10s ease infinite; 
    color: rgb(255, 255, 255);
  }

  #resume a{
    text-decoration: none;
    color: #dee2e6;
  }

  .footer {
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* from Option 1 */

    color: #eee;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', sans-serif;
  }

  .footer a {
    color: #81c9fa;
    text-decoration: none;
  }

  .footer a:hover {
    text-decoration: underline;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1000px;
    margin: auto;
    justify-content: space-between;
  }

  .footer-info p {
    margin: 0.3rem 0;
  }

  .footer-top {
    margin-top: 1rem;
  }

  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
  }

  @media (min-width: 600px) {
    .footer-container {
      flex-direction: row;
      align-items: flex-start;
    }

    .footer-top {
      margin-top: 0;
      align-self: center;
    }
  }
  @media (max-width: 360px){
    #aboutMe{
      p{
        font-size: 16px;
      }
    }
  }