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




body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-family: Poppins, sans-serif;
    scroll-behavior: smooth;
    color: rgb(156, 163, 175);
    /* background: linear-gradient(90deg, rgb(3, 7, 18) 0%, rgb(30, 30, 37) 35%, rgb(6, 5, 5) 100%); */
    /* background: linear-gradient(90deg, #0f2027 0%, #203a43 50%, #2c5364 100%); */
    /* background: linear-gradient(90deg, #0f2027 0%, #2c5364 100%); */
    background: linear-gradient(135deg, #0b0d17 0%, #1d1f2f 50%, #3f3f5a 100%);
    font-family: "Poppins", sans-serif ;
    font-weight: 400;
    font-style: normal;


    overflow-x: hidden;
    
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif ;
    font-weight: 400;
    font-style: normal;
    
}


a {
    text-decoration: none;
}

ul, li {
    padding: 0;
    margin: 0;
}
/* Temp */
p{
    color: #888888;
}

.skill-card span{
  color: #888888;
}

hr{
    /* color: #fff !important; */
    border: dotted #EAF6F6 6px !important;
    border-bottom: none !important;
    width: 5% !important;
    margin: 100px auto !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #DAD4FF !important;
}

p{
  text-align: center;
}


h6{
  text-align: center;
}

 h5, h4 {
  color: #E5E5FF !important;
}
.btn {
  background: linear-gradient(135deg, rgb(148, 66, 254), rgb(64, 127, 252));
  color: #F8F9FA;
  padding: 12px 24px !important;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(148, 66, 254, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.6s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 1;
}
.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(148, 66, 254, 0.5), 0 0 30px rgba(64, 127, 252, 0.4);
}

.btn:focus {
  outline: none;
}

/* ***************************************** Logo *********************************** */


.logo {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 50px 0;
    cursor: pointer;
}

.logoContainer .logo {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    /* padding-left: 5rem; */
}

.logo span {
    display: inline-block;
    transition: transform 0.3s ease-out;

    color: var(--darkreader-text-8485f6, #79a7f5);
    background-image: linear-gradient(90deg, var(--darkreader-background-9442fe, #4801a4), var(--darkreader-background-3378ff, #2f6ff0));
    background-color: initial;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgb(148, 66, 254), rgb(64, 127, 252)) text;
}

/* On hover: move up smoothly */
.logo span.hovering {
    transform: translateY(-20px);

    

}

.logoContainer .logo {
    color: var(--darkreader-text-8485f6, #79a7f5);
    background-image: linear-gradient(90deg, var(--darkreader-background-9442fe, #4801a4), var(--darkreader-background-3378ff, #2f6ff0));
    background-color: initial;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgb(148, 66, 254), rgb(64, 127, 252)) text;
}


/* On leave: bounce down smoothly */
@keyframes bounceDown {
    0% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ****************************************** XXX ************************************ */



/* Navigation */



#navbarNav .navbar-nav .nav-item{
  color: var(--darkreader-text-8485f6, #79a7f5);
  background-image: linear-gradient(90deg, var(--darkreader-background-9442fe, #4801a4), var(--darkreader-background-3378ff, #2f6ff0));
  background-color: initial;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgb(148, 66, 254), rgb(64, 127, 252)) text;
  gap: 20px;
  flex-direction: row ;
}



/*  */


/* *****************************************Header ******************************************/

header {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 0px 2rem;
    backdrop-filter: blur(24px);
    box-shadow: rgb(2, 6, 23) 0px 10px 30px 1px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2;
    justify-content: space-between;
    padding: 0px 8rem 0;
}





/****************************************** XXXXX ******************************************/

/* **************************** Icon-container ****************************** */

.icon-container nav {
  position: fixed;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.icon-container {
  position: fixed;
  top: 40%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1000;
}

.icon-container nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-container a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgb(148, 66, 254), rgb(64, 127, 252));
  color: #ffe6f7;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.icon-container a::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 2px solid #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.icon-container a:hover {
  transform: scale(1.1);
  color: white;
}

.icon-container a:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* *************XXXX*************** Icon-container *************XXX***************** */


@keyframes pulseFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-50px) scale(1.03);
  }
}

.floating-laptop {
  /* width: 150px; */
  animation: pulseFloat 3s ease-in-out infinite;
}


@media (max-width: 768px) {
  .floating-laptop {
    width: 100px;
  }
}


.laptop-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  z-index: 1;
}

.laptop-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 66, 254, 0.4), rgba(64, 127, 252, 0.1));
  animation: glowPulse 4s ease-in-out infinite;
  z-index: -1;
  filter: blur(50px);
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

.floating-laptop {
  /* width: 150px; */
  animation: floatScale 4s ease-in-out infinite;
}

@keyframes floatScale {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}















.sparkle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: -1;
  pointer-events: none;
}

.firework {
  position: absolute;
  transform-origin: center;
  animation: explode 4s ease-out infinite;
  opacity: 0;
}

/* Round sparkle */
.firework.circle {
  width: 8px;
  height: 8px;
  background: rgba(148, 66, 254, 0.8);
  border-radius: 50%;
  filter: blur(2px);
  box-shadow: 0 0 8px rgba(148, 66, 254, 0.7);
  background: radial-gradient(circle, #9442fe, #407ffc, #00f0ff);
}

/* Line sparkle (shooting star effect) */
.firework.line {
  width: 2px;
  height: 30px;
  background: rgba(64, 127, 252, 0.6);
  border-radius: 1px;
  filter: blur(1px);
  box-shadow: 0 0 8px rgba(148, 66, 254, 0.7);
  background: radial-gradient(circle, #9442fe, #407ffc, #00f0ff);
}

@keyframes explode {
  0% {
    transform: rotate(var(--angle)) translateY(0) scale(1);
    opacity: 1;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: rotate(var(--angle)) translateY(220px) scale(0.8);
    opacity: 0;
  }
}







.laptop-img::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
  animation: shine 5s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}













/* X laptop X */

/* ***************************************** home-container *********************************** */
.home {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    /* padding: 15rem 0; */
    padding-top: 15rem;
    /* temporary change */

}



.home p {
    font-size: 1.2rem;
    max-width: 600px;
    animation: fadeInUp 1.2s ease-in-out forwards;
}





.home-container .name {
    color: var(--darkreader-text-8485f6, #79a7f5);
    background-image: linear-gradient(90deg, var(--darkreader-background-9442fe, #4801a4), var(--darkreader-background-3378ff, #2f6ff0));
    background-color: initial;
    -webkit-text-fill-color: transparent;
    font-size: 5.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgb(148, 66, 254), rgb(64, 127, 252)) text;
    /* margin-bottom: 1rem;   temporary */
    animation: fadeInDown 1s ease-in-out forwards;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
 
  


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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* *********************XXX******************** footer *******************XXX**************** */


footer {
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}



/* ************** about-me-container ************** */

.about-me-container{
    width: 70%;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15rem;   /* creates space visually */
    margin-top: -15rem; 
    line-height: 30px;
}
.about-me-container .my-info{
    padding: 3rem;
    text-align: center;
}

.about-me-container a {
  text-align: center;
  
}


/* ***** XXX ********* about-me-container ******* XXX******* */






/* ******************* Education ********************* */

.education-container{
  padding-top: 15rem;   /* creates space visually */
  margin-top: -15rem; 
}

.education-container h5, h4, h2{
  text-align: center;
}

.education .timeline p{
  text-align: left;
}


  
  .timeline:before {
    content: '';
    position:absolute;
    height:100%;
    left:50%;
    width:2px;
    top:-20px;
    background:#DAD4FF;
    z-index:1;
    
  }
  .timeline{
    position:relative;
    margin: 50px auto;
    width:1000px;
    padding:50px 0;
  }
  
  
  .timeline ul{
    margin:0;
    padding:0 ;
  }
  
  .timeline ul li{
    list-style:none;
    box-sizing:border-box; 
    line-height:normal;
    position:relative;
    width:50%;
    padding: 40px 70px;
  }
  
  .timeline ul li .right_content h4, h5{
    color:rgba(59,112,239,1);
    padding:2px 2px 0;
  }
  .timeline ul li:nth-child(odd){
    float:left;
    text-align:right;
    clear:both;
  }
  
  .timeline ul li:nth-child(even){
    float:right;
    text-align:left;
    clear:both;
  }
  
  .left_content{
    padding-bottom:20px;
  }
  
  .timeline ul li:nth-child(odd):before{
    content: '';
    position:absolute;
    width:10px;
    height:10px;
    background:right, rgb(148, 66, 254);
    border-radius:50%;
    box-shadow: 0 0 0 3px rgba(58,112,239,0.2);
    right:-4px;
    top:24px;
    z-index:1;
  }
  
  .timeline ul li:nth-child(even):before{
    content: '';
    position:absolute;
    width:10px;
    height:10px;
   background:rgb(148, 66, 254);
    border-radius:50%;
    box-shadow: 0 0 0 3px rgba(58,112,239,0.2);
    left:-4px;
    top:24px;
    z-index:1;
  }
  
  .timeline ul li:nth-child(odd) .left_content{
    position:absolute;
    top:12px;
    right:-165px;
    margin:0;
    padding:8px 16px;
  
    box-shadow:0 0 0 3px rgba(59,112,239,0.3);
    border-radius:18px;
    
  }
  
  .timeline ul li:nth-child(even) .left_content{
    position:absolute;
    top:12px;
    left:-165px;
    margin:0;
    padding:8px 16px;
    
    box-shadow:0 0 0 3px rgba(59,112,239,0.3);
    border-radius:18px;
    
  }
  
  
  @media (max-width: 1000px){
    
    .timeline{
      width:100%;
    }
  }
  
  @media (max-width: 767px){
    .timeline{
      width:100%;
    }
    .timeline:before{
      left:20px;
    }
    .timeline ul li:nth-child(odd),
    .timeline ul li:nth-child(even){
      width:100%;
      text-align:left;
     padding-left:50px; 
    }
    
    .timeline ul li:nth-child(odd):before
      {
      top:-18px;
      left:16px;
    
    }
    .timeline ul li:nth-child(even):before
    { 
      top:-18px;
      left:16px;
    }
    
      .timeline ul li:nth-child(odd) .left_content,
    .timeline ul li:nth-child(even) .left_content
    {
      top:-30px;
      left:50px;
      right:inherit;
    }
  
    
  }

/* XXXXXXXXXXXXXXXXXXX */



/* <!-- Skills Container --> */

.skills-section {
    padding: 40px 20px;
    text-align: center;
    padding-top: 15rem;   /* creates space visually */
    margin-top: -15rem; 
    
  }
  
  .skills-section h2 {
    font-size: 2.5rem;
    margin-bottom: 5rem;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .skill-card {
    background-color: #111629;
    border-radius: 12px;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px #00000040;
    position: relative;
    transition: transform 0.3s;
  }
  
  .skill-card:hover {
    transform: scale(1.05);
  }
  
  .skill-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  
  .skill-card span {
    font-weight: 600;
    font-size: 1rem;
  }
  
  .skill-card::before {
    content: '';
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  
  /* Colored top borders */
  /* .java::before { background: #f44336; }
  .kotlin::before { background: #9575cd; }
  .php::before { background: #3f51b5; }
  .python::before { background: #ffc107; }
  .spring::before { background: #8bc34a; }
  .docker::before { background: #03a9f4; }
  .aws::before { background: #ff9800; }
  .mongodb::before { background: #4caf50; }
  .typescript::before { background: #2196f3; }
  .mysql::before { background: #00bcd4; }
  .gradle::before { background: #009688; }
  .github::before { background: #9e9e9e; } */

/* <!--XXX Skills Container XXX--> */



/* Contact me section */


.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-top: 15rem;   /* creates space visually */
    margin-top: -15rem; 
    margin-bottom: 5rem;
  }
  
  .contact-content {
    max-width: 600px;
    color: #333;
  }
  
  .contact-content h2 {
    font-size: 2.5rem;
    color: #E5E5FF;
    margin-bottom: 15px;
    
  }
  
  .contact-content h4 {
    font-size: 1.2rem;
    color: #DAD4FF;
    margin-bottom: 20px;
  }
  
  .contact-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  

/* XXXXXXXXXXXXX */





.navbar {
  background-color: #0c1a2b;
  padding: 1rem;
  color: white;
  position: relative;
}

.container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

#navbarNav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #00bfff;
}




/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}










/* Responsive */


@media only screen and (max-width: 820px) and (min-width: 660px) {
  .icon-container a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}


@media (max-width: 820px) and (min-width: 360px) {
  .header-container {
    padding: 0 20px;
  }

}






@media (max-width: 660px) and (min-width: 315px) {
  .logoContainer{
    display: none;
  }
  .logoContainerMobile{
    display: block !important;
  }
  .logo {
    font-weight: bold;
    font-size: 15px;
  }
  .icon-container a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .home-container .name{
    font-size: 3.52rem;
    text-align: center;
  }

  .about-me-container .my-info {
     padding: 0; 
  }

  #education-sec .education {
    padding-left: 3rem;
  }
  .skills-grid {
    width: 20rem;
  }


  /* hamberger menu working */
  #ham-menu {
    display: flex !important;
  }

  .navbar-nav {
    display: none !important;
  }
}


@media (max-width: 550px) and (min-width: 300px) {
  .home-container .name{
    font-size: 3.40rem;
    text-align: center;
  }
  .skills-grid {
    width: 15rem;
  }
  .contact-content{
    padding: 0 3rem;
  }
  .laptop-wrapper {
    margin-top: 5rem;
  }
}


.navbar-nav.active {
  display: flex !important;
  flex-direction: column !important;
  position: absolute;
  right: 3rem;
}













.glow-bg{
  background: radial-gradient(circle, rgba(255,255,255,0.05), rgba(0,0,0,0) 70%);

}