* {
  padding: 0;
  margin: 0;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
  width: 100%;
  position: fixed;
  transition: 0.5s ease-in-out;
}

header .navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 60px;
  background-color: #fffcf2;
  opacity: 1;
  border: 1px solid black;
  z-index: 0;
  background-color: rgb(11, 16, 0);
  color: #ff2bd1;
}

header .links {
  width: 60%;
  /* border: 2px solid black; */
  justify-content: space-evenly;
  align-items: center;
  display: flex;
}

header .links a {
  text-decoration: none;
  padding: 4px;
  color: rgb(254, 3, 158);
  font-weight: 500;
  font-size: 12px;
  transition: 0.2s ease;
}

header .links a:hover {
  font-size: 15px;
  box-shadow: 0px 3px 0px;
}

header .mode button {
  padding: 6px;
  border-radius: 5px;
}

header:hover {
  box-shadow: 0 6px 99px rgb(255, 38, 0);
}

/* Home page */

.Mainpage {
  height: 100vh;
  background-color: #e9ff70;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
}

.Mainpage .about-container{
  width: 95%;
  height: 80vh;
  margin-top: 40px;
  /* background-color: black; */
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.Mainpage .about-container .about{
  width: 30%;
  height: 70vh;
  /* background-color:red; */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.Mainpage .about-container .about .pic{
  width: 100%;
  height: 50vh;
  /* background-color: orange; */
}

.Mainpage .about-container .about .pic img{
  border-radius:100px;
}

.Mainpage .about-container .about .text-links{
  width: 90%;
  height: 20vh;
  /* background-color:white; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:10px;
  align-items: center;
}

.Mainpage .about-container .about-para{
  width: 50%;
  height: 65vh;
  /* background-color: pink; */
  text-align: center;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: 500;
  text-shadow:1px 1px 1px #ffff;
}

.Mainpage .about-container .about .text-links .social-links{
  width: 60vh;
  height: 8vh;
  background-color: rgb(50, 47, 47);
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
  transition: 0.5s ease;
  border-radius: 10px;
}

.Mainpage .about-container .about .text-links .social-links:hover{
  /* background-color: rgb(50, 47, 47); */
  color: white;
  width: 65vh;
  box-shadow: 1px 1px 50px black;
}



.Mainpage .about-container .about .text-links .social-links i{
  font-size: 30px;
  color:white;
  border-radius: 100px;
  transition: 0.2s ease-in;
}

.Mainpage .about-container .about .text-links .social-links i:hover{
  font-size: 35px;
  color: #e9ff70;
}


/* Section section*/

.skills-section {
  height: 105vh;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  background-color: #ff00c8;
  padding: 20px;
  align-items: center;
  transition: height 0.5s ease;
}

.skills-section .heading {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f;
  padding-top: 65px;
}

.skills-section .boxes-bar1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

.skills-section .boxes-bar2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;

  /* Initially hidden */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.skills-section .boxes-bar2 .box {
  width: 20%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  margin: 20px 10px;
  transition: 1s ease;
  border-radius: 50px;
}

.skills-section .boxes-bar2 .box:hover {
  color: white;
  width: 21%;
  height: 31vh;
  background-color: #df2aa0;
  border-radius: 20px;
  box-shadow: 5px 10px 100px rgb(255, 218, 150);
}

/* Corrected show class */
.skills-section .boxes-bar2.show {
  opacity: 1;
  max-height: 500px; /* enough to show all boxes */
}

.skills-section .boxes-bar1 .box {
  width: 20%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  margin: 20px 10px;
  transition: 0.3s ease-in;
  border-radius: 50px;
}

.skills-section .boxes-bar1 .box:hover {
  color: white;
  width: 21%;
  height: 31vh;
  background-color: #df2aa0;
  border-radius: 20px;
  box-shadow: 5px 10px 100px rgb(255, 218, 150);
}

a {
  color: black;
}

i {
  font-size: 100px;
  transition: 0.5s ease;
}

i:hover {
  color: whitesmoke;
  font-size: 110px;
}

#load-more {
  margin-left: 45%;
  width: 10%;
  height: 40px;
  border: none;
  background-color: black;
  color: white;
  transition: 0.2s ease;
}

#load-more:hover {
  border-radius: 4px;
  background-color: white;
  color: black;
}

/* Projects */
.Projects {
  height: 100vh;
  width: 100%;
  background-color: #00f5d4;
  display: flex;
  justify-content: center;
}

.Projects h1{
  margin-top: 65px;
}




/* Acheivmenst */

.Achievments {
  height: 145vh;
  width: 100%;
  background-color: #f95738;
  padding: 20px;
  transition: height 0.6s ease;
}

.Achievments .heading {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  color: yellow;
  padding-top: 65px;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f;
}

.Achievments .boxes {
  width: 95%;
  height: 50vh;
  /* background-color: #ccc5b9; */
  margin: 30px 10px;
  display: flex;
  justify-content: space-evenly;
}

.Achievments .boxes-notvisi {
  width: 95%;
  height: 50vh;
  /* background-color: #ccc5b9; */
  margin: 30px 10px;
  display: flex;
  justify-content: space-evenly;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.Achievments .boxes-notvisi.show {
  opacity: 1;
  max-height: 1000px;
  /* max-height: 500px; enough to show all boxes */
}

.Achievments .bb {
  width: 24%;
  height: 100%;
  /* background-color:yellow; */
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  align-items: center;
  margin: 5px;
}

.Achievments .bb .box-in {
  width: 100%;
  height: 80%;
  background-color: green;
  margin-bottom: 4px;
  transition: box-shadow 0.5s ease;
}

.box-in.glow {
  box-shadow: 2px 3px 40px #00ffff; /* cyan glow */
}

.Achievments .bb button {
  width: 50%;
  height: 30px;
  background-color: whitesmoke;
  color: black;
  border: none;
  margin-top: 4px;
  font-size: medium;
  font-weight: 500;
  transition: 0.5s ease;
}

.Achievments .bb button:hover {
  border-radius: 10px;
}

.Achievments #load-more {
  margin-left: 45%;
  width: 10%;
  height: 40px;
  border: none;
  background-color: black;
  color: white;
  transition: 0.2s ease;
}

.Achievments #load-more:hover {
  border-radius: 4px;
  background-color: white;
  color: black;
}

/* Education section */

.Education {
  background-color: #ff0080;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f;
  height: 100vh;
}

.Education .heading{
  display: flex;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 20px;
  font-size: 30px;
  font-weight: 500;
  color: rgba(223, 239, 0, 0.874);
}

.Education .edu-container{
  width: 100%;
  height: 70vh;
  
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.Education .blocks{
  width: 15%;
  height: 30vh;
  border-radius: 10%;
  background-color: red;
  transition: all 0.2s ease;
  text-align: center;
}

.Education .blocks:hover{
  box-shadow: 1px 1px 20px black;
  width: 20%;
  height: 40vh;
}

.Education .edu-container .edu-content{
  color: whitesmoke;
  text-shadow: 1px 2px 100px black;
  opacity: 1;
  transition:0.2s ease;
}




img{
  border-radius: 10%;
}

/* Contact Section */

.contact-section {
  padding: 50px 0 100px;
  background-color: rgb(27, 232, 232);
  height: 70vh;
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 20px;
  color: black;
  padding-top: 20px;
}

.contact-section .section-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 48px;
}

.contact-section .contact-info-list .contact-info {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
}

.contact-section .contact-info-list .contact-info i {
  font-size: 12px;
}

.contact-section .contact-form .form-input {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  outline: none;
  margin-bottom: 16px;
  background: whitesmoke;
  border-radius: 10px;
  border: 2px solid brown;
}

.contact-section .contact-form .form-input:focus {
  border-color: black;
}

.contact-section .contact-form textarea.form-input {
  height: 100px;
  padding: 12px;
  resize: vertical;
}

.contact-section .contact-form {
  max-width: 50%;
}

.contact-section .contact-form .submit-button {
  padding: 12px 20px;
  color: black;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease; /* ✅ smooth hover effect */
}

.contact-section .contact-form .submit-button:hover {
  background-color: wheat;
  border: 2px solid brown;
  color: brown;
}
