
body{
    /* background-color:grey; */
  /* background-image: url(https://i.ibb.co/vxYmmmBg/bcgtry1.png); */
  background-color: #000000;
  background-attachment: fixed;
  color: #FAF9F6; /* Soft Ivory for default text */
}

.student-card {
      display: flex;
      align-items: center;
      justify-content: start;
      width: 100%;
      height: 400px;
      background: #f8f9fa;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      font-family: 'Poppins', sans-serif;
    }

    .student-info {
      width: 300px;
      height: 400px;
      /* background: antiquewhite;
       */
       background-color: #e5e5e5;
       /* background: transparent; */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-right: 1px solid #ddd;
    }
    .student-info .subdesc{
        color: #fca311;
        text-align: center;
    }

    .student-description h3{
  font-size: 2.3rem;
  font-weight: 700;
  color: #000; /* Midnight Green */
  margin-bottom: 10px;
}
.student-description span{
    color: #EE9B00;

}


    .student-info img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
      filter: drop-shadow(2px 2px 40px yellow);
      z-index: 0;
    }

    .student-info h3 {
      margin: 0;
      font-size: 20px;
      /* color: #333; */
      color: black;
    }

    .student-info p {
      font-size: 14px;
      color: #777;
      margin-top: 5px;
    }

    .student-description {
      flex: 1;
      height: 400px;
      /* background-image: linear-gradient(90deg, gray, white,antiquewhite); */
      background-image: linear-gradient(90deg, #fff);
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .student-description h4 {
      font-size: 22px;
      color: black;
      margin-bottom: 10px;
    }

    .student-description p {
      font-size: 16px;
      /* color: #111; */
      color: black;
      line-height: 1.6;
    }







    .education-section {
      width: 800px;
      /* background-color: aliceblue; */
      /* background-color: rgb(41, 38, 38);
       */
       background: #0a0a0a;
      border-radius: 12px;
      padding: 30px;
      /* margin-right: 20px; */
      font-family: 'Poppins', sans-serif;
      /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    }

    .education-section h2 {
      font-size: 26px;
      /* color: #222; */
      color: white;
      margin-bottom: 20px;
      border-left: 5px solid red;
      padding-left: 10px;
    }

    .edu-card {
      background: #fff;
      /* background: skyblue; */
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .edu-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .edu-card h3 {
      font-size: 20px;
      color: #333;
      margin: 0 0 5px 0;
    }

    .edu-card p {
      font-size: 15px;
      color: #555;
      margin: 3px 0;
    }

    .edu-card span {
      color: #fca311;
      font-weight: 500;
    }
.edufit {
      display: flex;
      align-items: center;
      width: 1200px;
      height: 500px;
      /* background: #8A2BE2;
      background-color: #4b0082; */
      /* background-image: linear-gradient(130deg, #007bff, #000);
       */
       /* background-image: linear-gradient(90deg, black); */
       background: #000;
      border-radius: 12px;
       box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      padding: 20px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      font-family: 'Poppins', sans-serif;

}
    /* Right Image Section */
.education-image {
  
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 30px;
  position: relative;
  align-content:end;
  /* filter: drop-shadow(1px 1px 20px red); */
}

.education-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  filter: drop-shadow(1px 1px 20px Green);
}

.education-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .education-image {
    padding-left: 0;
    margin-top: 25px;
  }
  .education-image img {
    max-width: 80%;
  }
}






/* 💻 Skills Section */
.skills-section {
  background: #f1f7ff;
/* background-image: linear-gradient(130deg, #fff, gray); */
/* background: linear-gradient(90deg,black); */
background-color: #1e1a1a;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.skills-section h2 {  
  font-size: 28px;
  font-weight: 600;
  color: white;
  border-left: 5px solid #007bff;
  padding-left: 12px;
  display: inline-block;
  margin-bottom: 30px;
}

.skills-grid {
  display: flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  justify-content: center;
  align-content: start;
  text-align: left;
  gap: 20px;
}

.skill-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 140px;
  cursor: pointer;
  /* opacity: 0; hidden by default for fade-in animation */
  transform: translateY(30px);
}

.skill-card i {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.skill-card:hover i {
  transform: scale(1.2);
}


/* .skill-card:nth-child(1) i { color: #e34f26; }  /* HTML - orange */
.skill-card:nth-child(2) i { color: #2965f1; }  /* CSS - blue */
.skill-card:nth-child(3) i { color: #f7df1e; }  /* JavaScript - yellow */
.skill-card:nth-child(4) i { color: #3776ab; }  /* Python - blue */
.skill-card:nth-child(5) i { color: #6f42c1; }  


.skill-card span {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* Hover effect */
.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Fade-in Animation */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 768px) {
  .skill-card {
    width: 120px;
    padding: 15px 20px;
  }
}







/* Shared Section Styles */
section {
/* background-image: linear-gradient(90deg, gray, gray, black); */
      /* background-image: linear-gradient(90deg, gray, white,gray); */
      background-color: #121111;
  border-radius: 20px;
  padding: 40px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 1100px;
  font-family: 'Poppins', sans-serif;
  color: white;
  z-index: -1;
}

section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fca311;
  border-left: 5px solid red;
  padding-left: 12px;
  margin-bottom: 25px;
}

/* 🚀 Projects */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
      /* background-image: linear-gradient(90deg, #007bff, #000); */
  background-color: #e5e5e5;
  width: 260px;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  /* color: antiquewhite; */
  color: #000;
  border: 5px solid white; 
  justify-self: center;

    
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  height: 200px;
  border: 3px solid #e5e5e5;
}

.project-links a {
  text-decoration: none;
  color:darkblue;
  font-weight: 500;
  margin-right: 10px;
}

.project-links a:hover {
  text-decoration: underline;
}

/* 🏆 Achievements / Certifications */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.cert-card {
      /* background-image: linear-gradient(90deg, #007bff, #000); */
  background-color: #e5e5e5;
  width: 260px;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  /* color: antiquewhite; */
  color: #000;
    border: 5px solid white; 
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 3px solid #e5e5e5;
}

/* 📝 Blogs */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-card {
      /* background-image: linear-gradient(90deg, #007bff, #000); */
      background-color: #e5e5e5;
  width: 300px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  /* color: #fff; */
    color: #000;
    border: 5px solid white; 
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card a {
  text-decoration: none;
  color: #EE9B00;
  font-weight: 500;
}

/* 🎤 Extracurricular */
.extra-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.extra-card {
      /* background-image: linear-gradient(90deg, #007bff, #000); */
  background-color: #e5e5e5;
  width: 300px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  /* color: #fff; */
  color: #000;
  border: 5px solid white; 
}

.extra-card:hover {
  transform: translateY(-5px);
}

/* 📞 Contact Section */


.contact-section {
      /* background-image: linear-gradient(170deg, darkblue, black,darkblue); */
      /* background-image: linear-gradient(90deg, gray, gray, black); */
      background-color: black;

  border-radius: 20px;
  padding: 40px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 1100px;
  font-family: 'Poppins', sans-serif;
  color: white;
}

.contact-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: white;
  border-left: 5px solid red;
  padding-left: 12px;
  margin-bottom: 25px;
}




.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-info a{
    /* color: blanchedalmond; */
    color: white;
    text-decoration: none;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  font-size: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ddd;
}

.contact-form button {
  background: #00d4ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  font-weight: 600;
}

.contact-form button:hover {
  background: #fff;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  color: #fff;
}

.social-links a {
  color: white;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}





/* footer style */




.index-footer {

  color: #FAF9F6; /* Soft Ivory */
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.indfoot-division {
  height: 4px;
  background-color: #F4A259; /* Amber Gold divider */
  margin-bottom: 20px;
  border-radius: 2px;
  width: 80px;
  margin-left: auto;
  margin-right: auto;
}

#footer p {
  font-size: 1rem;
  line-height: 1.6;
  color: yellow;
  margin: 0;
  font-weight: bolder;
}

#footer span {
  color: #D96690; /* Dusty Rose */
  font-weight: 600;
}

#footer p:hover span {
  color: #70A9A1; /* Muted Teal on hover */
  transition: color 0.3s ease;
}

#footerdivyanshsingh{
  text-decoration: none;
  color: red;
}

#igfooterdivyansh{
  text-decoration: none;
    color: red;

}
#footer{
    width: 300px;
    border: 10px double red;
    padding: 8px 8px 8px 8px;
    border-top-right-radius:20px;
    border-bottom-left-radius: 20px;
    margin:auto;
}




@media (max-width<900px) {
    .index-footer{
        display: none;
    }
}










/* navigation styling */





















.btn_one i{
    color: white;
    font-size: 20px;
    font-weight: 700;
    position: fixed;
    left: 16px;
    top: -7px;
    line-height: 60px;
    transition: all 0.4s linear;    
}
.sidebar_menu{
    position: fixed;
    left: -350px;
    height: 100vh;
    width: 300px;
    background-color: white;
    box-shadow: 0 0 5px white;
    transition: all 0.4s linear;
    z-index: 12;
}
.sidebar_menu .logo{
    position: absolute;
    width: 100%;
    line-height: 60px;
    height: 60px;
    box-shadow: 0 2px 4px white;
}
.sidebar_menu .logo a{
    position: absolute;
    left: 50px;
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    
}
.sidebar_menu .menu{
    position: absolute;
    width: 100%;
    top: 80px;
}
.sidebar_menu .btn_two i{
    color: gray;
    line-height: 60px;
    font-size: 20px;
    position: absolute;
    left: 270px;
    opacity: 1;
    cursor: pointer;
    transition: all 0.4s linear;
}
.sidebar_menu .menu i{

    color: red;
    text-decoration: none;
    font-size: 20px;
    padding-right: 8px

}
.sidebar_menu .menu li{
    line-height: 30px;
    padding: 10px 20px;
    margin-top: 6px;

}
.sidebar_menu .menu a{
    color: black;
    text-decoration: none;
    font-size: 20px;
}
.sidebar_menu .social_media {
    color: black;
    text-decoration: none;
    font-size: 20px;
    position: absolute;
    left: 25%;
    bottom: 30px;
}
.sidebar_menu .social_media i{
    color: black;
    opacity: 2;

}
.sidebar_menu .social_media a{
    color: black;
    opacity: 2;
    text-decoration: none;

}
#check{
    display: none;
}
.sidebar_menu .menu li:hover{
    box-shadow: 0 0 5px white;

}
/* .btn_one i:hover{
    font-size: 30px;
} */
.btn_two i:hover{
    font-size: 22px;
}
.sidebar_menu .social_media i:hover{
    opacity: 1;
    transform: scale(1.2);
}
#check:checked ~ .sidebar_menu{
    left: 0;
}
#check:checked ~ .btn_one i{
    opacity: 0;
}
#check:checked ~.sidebar_menu .btn_two i{
    opacity: 1;
}


.top-bar-of-page{
    background-color: aliceblue;;
    position: fixed;
    top: 0px;
    width: 100%;
    
    height: 45px;
    margin-left: -9px;
}

.contents-of-top-bar a{
  text-decoration: none;
  margin-left: 3rem;
  position: relative;
  top: 13px;
  color: red;
  z-index: 1;
  font-size: large;
  font-weight: 500;
  flex-wrap: wrap-reverse;
}
.contents-of-top-bar{
  display: inline;
}





.feedback-bar {
  width: 100%;
  background: whitesmoke; /* dark slate */
  padding: 10px 0;
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid red;
  font-size: large;
  font-weight: 600;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.feedback-bar marquee {
  font-size: 16px;

}


.feedback-bar a {
  color: red; /* sky blue */
  text-decoration: none;
  padding: 0 10px;
  /* transition: color 0.3s ease; */
}

.feedback-bar a:hover {
  color: blue; /* green on hover */
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(15,15,15,0.9);
  backdrop-filter: blur(10px);
  padding: 16px 32px;
  height: 18px;
  font-size: large;
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.navbar nav a {
  margin-left: 18px;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
}

.navbar h2{
  position: relative;
  top: -30px;
  color: #EE9B00;
}


/* Hide mobile UI by default */
#mobile-ui { display: none; }

/* Show mobile UI only on small screens */
@media (max-width: 900px) {
    #desktop-ui { display: none; }
    #mobile-ui { display: block; }

    
}

#mobile-ui {
    font-family: 'Poppins', sans-serif;
    padding: 15px;
    /* background-image: url(https://i.ibb.co/whz0MD4Z/gaspar-zaldo-Gz-Hl2-BGcvmo-unsplash.jpg); */
    background-color: black;
    /* background-attachment: fixed; */
    color: white;
}

/* Topbar */
.mobile-topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    text-align: center;
}
.mobile-topbar nav a {
    margin: 5px;
    text-decoration: none;
    color: #EE9B00;
    font-weight: 600;
}

/* Student Card */
.mobile-student-card {
    text-align: center;
    /* background: linear-gradient(130deg, beige, antiquewhite); */
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    color: black;
    margin-bottom: 20px;
}
.mobile-student-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
    filter: drop-shadow(2px 2px 40px white);
}
.mobile-student-card span{
  color: red;
}
/* Education */
.mobile-education {
    margin-bottom: 20px;
}
.mobile-edu-card {
    /* background: linear-gradient(130deg, white, white); */
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    color: black;
}

/* Skills */
.mobile-skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.mobile-skill-card {
    background: linear-gradient(130deg, white white);
    background-color: white;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
}

/* Projects / Achievements / Blogs / Extra */
.mobile-project-card,
.mobile-cert-card,
.mobile-blog-card,
.mobile-extra-card {
    /* background: linear-gradient(130deg, #023047, #023047);
     */
    background-color: white;
    color: black;
        padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.mobile-cert-card img{
    height: 100%;
    width: 100%;;
}
.mobile-project-card a,
.mobile-blog-card a,
.mobile-contact a {
    color: red;
    text-decoration: none;
}
.mobile-project-card a:hover,
.mobile-blog-card a:hover,
.mobile-contact a:hover {
    text-decoration: underline;
}

/* Contact */
.mobile-contact {
    margin-bottom: 20px;
    text-align: center;
}
.mobile-social-links a {
    margin: 5px;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
}
.mobile-contact h3 span{
  color: red;
}








/* Hide PC layout on mobile */
@media (max-width: 900px) {
  body > .main, 
  body > section, 
  body > .footer-page {
    display: none;
  }

  /* #mobile-ui {
    display: block;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    background: #111; /* dark mobile bg */
    /* color: #fff; */
} 

  #mobile-ui h2 {
    font-size: 22px;
    margin-bottom: 15px;
    border-left: 5px solid #ff0000;
    padding-left: 8px;
  }


  .mobile-edu-card,
  .mobile-skill-card,
  .mobile-project-card {
    background-color: linear-gradient(130deg, #14213d, #14213d);
    color: black;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  .mobile-student-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
  }

  .mobile-skill-card, .mobile-project-card {
    text-align: center;
  }

  .mobile-footer {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    background: #222;
    border-radius: 12px;
  }
