@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior: auto;
}
a{
  text-decoration: none ;
  color:#fff;
  transition:0.3s; 
}
ul{
  list-style:none;
}
img{
  max-width: 100%;
}
body{
  font-family: 'Poppins', sans-serif;
  font-size:18px;
  line-height:24px; 
  background-color:#1a1a1a;
}
.container{
  width: 1170px;
  margin:auto;
}




      /*---------------------------Header---------------------------*/

.header-area{
  padding:25px 0;
  transition: padding .3s;
  animation: slideInFromTop 0.8s ease;
}

.header-area.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #1a1a1a;
  padding: 5px;
}

.header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  /* padding-bottom: 2rem; */
} 
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 300;

}


.logo .fa-bolt {
  color: #00aaff;
  font-size: 15px;

  z-index: 1; 
}

.signature {
  width: 100px; 
  height:auto; 
  margin-right: 10px; 
}

.header ul li:first-child {
  margin-right: auto; 
}  

.header ul{
  display: flex;
  align-items: center; 
}
.header ul li{
  margin: 0 15px;
}
.header ul li a{
  text-transform: capitalize;
  display: block;
}
.header ul li a.active{
  color: #00aaff;
} 
.header ul li a:hover{
  color:#00aaff;
}
.header .menu_icon{
  color:#fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
}


/*---------------------------HomePage--------------------------*/

.FirstElement{
   display:flex;
   justify-content: space-around;
   align-items: center;
   padding-top: 5rem; 
} 

.FirstElement.adjusted-padding {
  padding-top: 40px; 
}

.FirstElement .profile-photo{
  width: 300px;
  height:  300px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 10px solid #333;
  box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
  /* animation: scaleIn 1s ease; */
  /* transition: transform 0.1s ease-out; */
}
profile-photo .img{
  height: 100%;
  width: 100%;
  color: #e5e5e5;
  font-size: 14px;
}

.profile-text{
  max-width: 750px;
  display: flex;
  flex-direction: column;
}
.profile-text h5{
  color: #e5e5e5;
  font-size: 14px;
}
.profile-text h1{
  color: #00aaff;
  font-size: 3rem; 
}
.profile-text p{
  color:#e5e5e5;
}
.profile-text .social {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  animation: fadeInUp 0.8s ease 1.2s forwards;
  opacity: 0;
}

.profile-text .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #222;
  border-radius: 50%;
  border: 2px solid #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-text .social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #00aaff, #0088cc);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.profile-text .social a:hover::before {
  transform: scale(1);
}

.profile-text .social i {
  color: #e5e5e5;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.profile-text .social a:hover {
  border-color: #00aaff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.3);
}

.profile-text .social a:hover i {
  color: #fff;
  transform: scale(1.1);
}

/* Individual social button animations */
.profile-text .social a:nth-child(1) { animation-delay: 1.2s; }
.profile-text .social a:nth-child(2) { animation-delay: 1.3s; }
.profile-text .social a:nth-child(3) { animation-delay: 1.4s; }
.profile-text .social a:nth-child(4) { animation-delay: 1.5s; }



 /*---------------------------About---------------------------*/

.about-area{
  padding-top: 130px;
  background-color: #1a1a1a;
}
.about{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom:50px;
}
.about-content{
  flex-basis: 60%;
}
.about-content h4{
  color: #00aaff;
  font-size: 40px;
  line-height: 70px;
  text-transform: capitalize;
}
.about-content ul {
  color:#fff;
  text-align: justify;
}

.about-content ul li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.about-skills{
  flex-basis: 35%;
}
.about-skills ul li{
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}
.about-skills ul li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/*---------------------------Education Section in About---------------------------*/
.education-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #333;
}

.education-section .title {
  color: #00aaff;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.education-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #333;
}

.education-timeline .timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  background: #222;
  padding: 20px 30px 20px 60px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.education-timeline .timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 170, 255, 0.2);
}

.education-timeline .circle-dot {
  position: absolute;
  left: 12px;
  top: 25px;
  width: 16px;
  height: 16px;
  background: #00aaff;
  border-radius: 50%;
  z-index: 1;
}

.education-timeline .timeline-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.education-timeline .timeline-title:nth-child(2) {
  color: #00aaff;
  font-size: 1rem;
  margin-bottom: 5px;
}

.education-timeline .timeline-title:nth-child(3) {
  color: #ccc;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.education-timeline .timeline-title:nth-child(3) i {
  color: #00aaff;
}


/*---------------------------Button---------------------------*/

.btn-group{
  margin: 45px 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-group .btn{
  border-color: #d5d5d5;
  color: #fff;
  background-color: #333;
  padding:12px 25px;
  border-radius: 30px;
  border: 2px solid #e5e5e5;
  box-shadow: 0 10px 10px -8px rgb(0 0 0 / 78%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-group .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.3), transparent);
  transition: left 0.5s;
}
.btn-group .btn:hover::before {
  left: 100%;
}
.btn-group .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 170, 255, 0.3);
}
.btn.active{
  border-color: #00aaff;
  background: linear-gradient(45deg, #00aaff, #0088cc);
}
.btn.active:hover {
  background: linear-gradient(45deg, #0088cc, #00aaff);
}


/*---------------------------Education & Internship---------------------------*/

.education-content .row{
  display: flex;
  border-radius: 5px;
  height: 400px;
  margin-bottom: 250px;
}

.education-content .title{
  color: #00aaff;
}
.education-content .row .education,
.education-content .row .internship
{
  color: #e5e5e5;
  flex:0 0 50%;
  max-width: 50%;
  margin-top: 30px;
} 
.education-content  h3.title{
  font-size:24px;
  margin-bottom: 30px;
  font-weight: 700;
}
.education-content .row.timeline-box{
  flex:0 0 100%;
  max-width: 100%;  
}
.education-content .row .timeline{
  /* background-color:#e5e5e5; */
  padding: 30px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  width: 100%;
  position: relative;
}
.education-content .row .timeline-item{
  position:relative;
  padding-left: 37px;
  padding-bottom: 50px; 
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
}
.education-content .row  .internship .timeline-item{
  position:relative;
  padding-left: 37px;
  padding-bottom: 30px; 
}
.education-content .row .timeline-item:last-child{
  padding-bottom: 0;
}
.education-content .row .timeline-item::before{
  content: '';
  position: absolute;
  right: -3px;
  top: 1px;
  height: 100%;
  width: 2px;
  background-color:#333;
}
.education-content .row .circle-dot{
  position: absolute;
  left: -29px;
  top: 0;
  height: 15px;
  width: 15px;
  background-color: #00aaff;
  border-radius: 50%;
  z-index: 1;
}
.education-content .row .timeline-title  {
  font-weight: 500;
  font-size: 186x;
  margin-bottom: 12px;
}
.education-content .row .internship .timeline-title  {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}
.education-content .row .timeline-text{
  line-height: 22px;
  font-size: 14px;
  text-align: justify;
}



/*---------------------------Projects---------------------------*/
.project-content{
  padding: 90px 0;
  /* color:#fff;  */
}
.project-title{
  margin-bottom: 60px;
  text-align: center;
}
.project-title h4{
  text-transform: uppercase;
  font-size: 40px;
  line-height: 40px;
  color: #00aaff;
  margin-bottom: 20px;
}
.project-title p{
  color: #e5e5e5;
}
.projects{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
}
.project{
    color: #e5e5e5;
    border: 2px solid #333;
    border-radius: 15px;
    width: 100%;
    position: relative;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #222;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.project:hover{
  transform: translateY(-10px);
  background-color: #00aaff;
  border-color: #00aaff;
  box-shadow: 0 15px 35px rgba(0, 170, 255, 0.3);
}

.project i{
  font-size: 40px;
  color: #00aaff;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.project:hover i{
  color: #1a1a1a;
  background-color: #fff;
  transform: scale(1.1);
}

.project h4{
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.project p{
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  flex-grow: 1;
}

.project:hover h4, .project:hover p{
    color: #fff;
}

.project a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}



/*---------------------------Contact Me---------------------------*/
.contact-content{
  min-height: 100vh;
  width: 100%;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease;
}
.containers{
  width: 85%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.containers .content{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.containers .content .left-side{
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}
.content .left-side::before{
  content: '';
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
}
.content .left-side .details{
  margin: 14px;
  text-align: center;
  color:#fff;
  transition: 0.3s;
}
.content .left-side .details i{
  font-size: 30px;
  color: #00aaff;
  margin-right: 10px;
}
.content .left-side .details .topic{
  font-size: 18px;
  font-weight: 500;
}
.content .left-side .details .text-one,
.content .left-side .details .text-two{
  font-size: 14px;
  color: #afafb6;
}
.containers .content .right-side{
  width: 75%;
  margin-left: 75px;
}
.content .right-side .topic-text{
  font-size: 23px;
  font-weight: 600;
  color: #00aaff;
}
.right-side .input-box{
  height: 50px;
  width: 100%;
  margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea{
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
.right-side .message-box{
  min-height: 110px;
}
.right-side .input-box textarea{
  padding-top: 6px;
}
/*button */
.button {
  --primary: #ff5569;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}
.button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45))
      border-box;
  z-index: 0;
  transition: all 0.4s ease;
}
.button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    white 80%,
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button:hover .outline {
  opacity: 1;
}
.button:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.button:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.button:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}
.state--default span:nth-child(4) {
  margin-right: 5px;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.button:focus .state--default {
  position: absolute;
}
.button:focus .state--sent {
  display: flex;
}
.button:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.button:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@media (max-width: 950px) {
  .containers{
    width: 90%;
    padding: 30px 40px 40px 35px ;
  }
  .containers .content .right-side{
   width: 75%;
   margin-left: 55px;
}
}
@media (max-width: 820px) {
  .containers{
    margin: 40px 0;
    height: 100%;
  }
  .containers .content{
    flex-direction: column-reverse;
  }
 .containers .content .left-side{
   width: 100%;
   flex-direction: row;
   margin-top: 40px;
   justify-content: center;
   flex-wrap: wrap;
 }
 .containers .content .left-side::before{
   display: none;
 }
 .containers .content .right-side{
   width: 100%;
   margin-left: 0;
 }
}






/*---------------------------Footer---------------------------*/
.footer {
    max-width: 950px;
    margin: 0 auto;
    padding: 15px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer .message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
  }
  
  .copyright {
    font-size: 12px;
  }




 /*------------------- Responsive Design on small screen -------------------*/

/* Medium layout */
@media only screen and (min-width:1000px) and (max-width:1200px){
  .container{
    width: 970px;
  }
}

@media(max-width:1050px){
  .FirstElement{ 
    flex-direction: column;
    padding-top: 2rem;
  }
  .profile-text{
    padding: 40px 0px;
  }
}



/* tablet layout */
@media only screen and (min-width:768px) and (max-width:999px){
  .container{
    width: 750px;
  } 
}  


/* Mobile Layout */
@media only screen and (max-width:767px){
  .container{
    width: 350px;
  }

  .header .menu_icon {
    display: block;
  }
  .header ul{
    display: none;
  }
  .header i{
    color: #e5e5e5;
  }

  .profile-text{
    width: 350px;
  }
  .FirstElement .profile-text p{
    text-align: justify;
  }
  .about{
    flex-direction: column;
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .about-skills{
    width: 100%;
    margin-top: 30px;
  }
  .education-content .row {
    flex-direction: column;
    height: auto;
    margin-bottom: 50px;
  }

  .education-content .row .education,
  .education-content .row .internship {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 30px;
  }
  .project{
    flex-basis: 100%;
    margin-bottom: 30px;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project {
    min-height: 250px;
    padding: 20px;
  }
}

/*---------------------------Mobile Menu---------------------------*/
.mobile-menu {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
}

.mobile-menu li {
  margin: 10px 0;
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

/*---------------------------Scroll to Top Button---------------------------*/
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #00aaff;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
  animation: scaleIn 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #fff;
  color: #00aaff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.4);
  animation: bounce 0.6s ease;
}

.scroll-to-top i {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

/*---------------------------Animation Classes---------------------------*/
.animate-icon {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/*---------------------------Enhanced Button States---------------------------*/
.button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.button.success {
  background-color: #28a745;
}

/*---------------------------Parallax Effect---------------------------*/
.profile-photo {
  /* transition: transform 0.1s ease-out; */
}

/*---------------------------Enhanced Hover Effects---------------------------*/
.social a {
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.3), transparent);
  transition: left 0.5s;
}

.social a:hover::before {
  left: 100%;
}

/*---------------------------Loading Animation---------------------------*/
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/*---------------------------Skills Section---------------------------*/
.skills-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills-title {
  text-align: center;
  margin-bottom: 60px;
}

.skills-title h2 {
  color: #00aaff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.skills-title p {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.skill-category {
  background: #222;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.skill-category:hover {
  transform: translateY(-10px);
  border-color: #00aaff;
  box-shadow: 0 15px 35px rgba(0, 170, 255, 0.2);
}

.skill-category h3 {
  color: #00aaff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3 i {
  font-size: 1.8rem;
}

.learning-note {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 15px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  color: #e5e5e5;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-list li:hover {
  color: #00aaff;
  transform: translateX(5px);
}

.skill-list li i {
  color: #00aaff;
  font-size: 0.9rem;
}

/*---------------------------Experience Section---------------------------*/
.experience-section {
  padding: 100px 0;
  background: #1a1a1a;
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.experience-title {
  text-align: center;
  margin-bottom: 60px;
}

.experience-title h2 {
  color: #00aaff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.experience-card {
  background: #222;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  border-left: 4px solid #00aaff;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 170, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.experience-card:hover::before {
  transform: translateX(100%);
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 170, 255, 0.2);
}

.experience-card h3 {
  color: #00aaff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.experience-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.experience-card .duration {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.experience-card .duration i {
  color: #00aaff;
}

.experience-card p {
  color: #e5e5e5;
  line-height: 1.6;
  font-size: 0.95rem;
}

/*---------------------------Fixed Typing Animation---------------------------*/
.typing-text {
  min-height: 3rem;
  display: flex;
  align-items: center;
}

.typing-text h2 {
  margin: 0;
  color: #00aaff;
}

/*---------------------------Enhanced Animations---------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---------------------------Improved Project Animations---------------------------*/
.project {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.project:nth-child(1) { animation-delay: 0.1s; }
.project:nth-child(2) { animation-delay: 0.2s; }
.project:nth-child(3) { animation-delay: 0.3s; }
.project:nth-child(4) { animation-delay: 0.4s; }
.project:nth-child(5) { animation-delay: 0.5s; }
.project:nth-child(6) { animation-delay: 0.6s; }

/*---------------------------Enhanced Header Animation---------------------------*/
.header-area {
  animation: slideInFromTop 0.8s ease;
}

/*---------------------------Profile Photo Animation---------------------------*/
.profile-photo {
  /* animation: scaleIn 1s ease; */
}

/*---------------------------Social Icons Animation---------------------------*/
.social a {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.social a:nth-child(1) { animation-delay: 0.8s; }
.social a:nth-child(2) { animation-delay: 0.9s; }
.social a:nth-child(3) { animation-delay: 1.0s; }
.social a:nth-child(4) { animation-delay: 1.1s; }

/*---------------------------Button Animation---------------------------*/
.btn-group {
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

/*---------------------------Timeline Animation---------------------------*/
.timeline-item {
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

/*---------------------------Contact Form Animation---------------------------*/
.contact-content {
  animation: fadeInUp 0.8s ease;
}

/*---------------------------Scroll to Top Enhanced---------------------------*/
.scroll-to-top {
  animation: scaleIn 0.3s ease;
}

.scroll-to-top:hover {
  animation: bounce 0.6s ease;
}

/*---------------------------Mobile Responsive for New Sections---------------------------*/
@media only screen and (max-width: 767px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .skills-title h2,
  .experience-title h2 {
    font-size: 2rem;
  }
  
  .skill-category,
  .experience-card {
    padding: 20px;
  }
  
  .about {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-content,
  .about-skills {
    flex-basis: 100%;
  }
  
  .education-timeline {
    padding: 0 20px;
  }
  
  .education-timeline .timeline-item {
    padding: 15px 20px 15px 50px;
  }
  
  .education-timeline::before {
    left: 15px;
  }
  
  .education-timeline .circle-dot {
    left: 7px;
  }
}

.redesigned-education {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #333;
}
.redesigned-education .title {
  color: #00aaff;
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: left;
}
.education-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.education-card {
  background: #222;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  padding: 24px 32px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #333;
}
.education-card:hover {
  box-shadow: 0 8px 32px rgba(0,170,255,0.13);
  border-color: #00aaff;
  transform: translateY(-6px) scale(1.03);
}
.edu-degree {
  color: #00aaff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.edu-school {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.edu-date {
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.edu-date i {
  color: #00aaff;
}
@media (max-width: 900px) {
  .education-cards {
    flex-direction: column;
    gap: 18px;
  }
  .education-card {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
}

