/* body */
:root {
  --bg-primary: #210f3f;
  --bg-secondary: #210f3f;
  --bg-tertiary: #260066;
  --text-primary: #ffffff;
  --text-secondary: #b3a2d0;
  --accent-color: #ae99d8;
  --accent-color-hover: #7e57c2;
  --section-padding: 2rem;
  --border-radius: 8px;
  --transition-speed: 0.3s;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/*progressb bar*/
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: linear-gradient(90deg, #780cf39c, #77f198ae);
  z-index: 100;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.3s ease;
  overflow: visible;
}


.sparkle {
  position: absolute;
  background: white;
  opacity: 0.9;
  animation: glitterFade 0.8s ease-out forwards;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1000;

  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

/* glitter animation */
@keyframes glitterFade {
  0% {
    transform: scale(0.8) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.4) rotate(15deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.5) rotate(30deg);
    opacity: 0;
  }
}





/*cursor*/
.star {
      position: absolute;
      width: 10px;
      height: 10px;
      background: transparent;
      clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 
        68% 57%, 79% 91%, 50% 70%, 
        21% 91%, 32% 57%, 2% 35%, 
        39% 35%
      );
      background-color: rgb(255, 225, 0);
      pointer-events: none;
      opacity: 0.8;
      animation: sparkle 0.8s ease-out forwards;
    }

    @keyframes sparkle {
      0% {
        transform: scale(1) translateY(0);
        opacity: 1;
      }
      50% {
        transform: scale(1.5) translateY(-5px);
        opacity: 0.6;
      }
      100% {
        transform: scale(0) translateY(-10px);
        opacity: 0;
      }
    }




/*click glow*/
.click-glow {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, #facc1597 10%, transparent 80%);
  pointer-events: none;
  transform: scale(1);
  animation: glowFade 0.7s ease-out forwards;
  z-index: 9999;
}

@keyframes glowFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3);
  }
}










/* headings */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--text-primary), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  /* constant animation */
  animation: shimmer 3s infinite alternate;
}

h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

p, li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color-hover);
  text-decoration: underline;
}

ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

/* layout */
.resume-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.section {
  margin-bottom: 3rem;
  padding: var(--section-padding);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgb(19, 1, 38);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-hero{
  height: 70px;
}

.skills-flow, .soft-skills-flow {
  background-color: transparent; 
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.education-gif img{
  width: 70%;
}

/* heading section */
.hero {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  z-index: 0;
  animation: gradientShift 10s ease infinite;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--accent-color);
  font-size: 1.2rem;

  animation: pulse 2s infinite;
}

/* about section */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.profile-picture {
  width: 100%;
  max-width: 250px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-picture:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.about-left {
  display: flex;
  justify-content: center;
}

.about-right h2 {
  font-family: monospace;
  font-size: 2.5em;
}

.logo-contact{
  display: flex;
  align-items: center;
}

.logo-contact img{
  width: 27px;
  clip-path: inset(5px 1px 4px 1px);
}


.about-right button {
  background-color: #6e677b;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: monospace;
  background-color: transparent;
}


.main-image-map {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2rem 0;
}

.main-image-map img {
  width: 100%; 
}

.project-parent{
  display: flex;
  flex-wrap: wrap;
  flex-basis: 48%;
  gap: 15px;
  justify-content: space space-between;
  text-align: center;
}


.picture-wrapper{
  width: 70%;
  margin-left: 200px;
  }
  
  .picture-wrapper img {
    width: 100%;
  }




/* project */
.project-entry {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-details{
  display: flex;
  gap: 25px;;
}

.project-entry:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #321a58;
}

/* skills */
.flow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.flow-item {
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  text-align: center;
}

.flow-item img{
  width: 50%;
  align-items: center;
  justify-content: center;
}

.db-icon img {
  width: 100%;
  max-width: 80px;
  height: auto;
}


.flow-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.flow-item::before {
  content: attr(data-label);
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: var(--accent-color);
  color: var(--bg-primary);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}









/* edu */
.education-entry-parent{
display: flex;
}


.education-entry {
  margin-bottom: 0.5rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--accent-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: medium;
}

.education-entry:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #321a58;
}


/* languages and interest */
.section-languages-interests{
display: flex;
align-items: center;
}

.languages{
  display: flex;
justify-content: center;
text-align: center;
}

.languages div img{
  width: 80%;
}

.section-interests div img{
  width: 100%;
}

.language-pic img{
  width: 85%;
}




/* constant animations */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}


.section-publications1{
  display: flex;
  justify-content: center;
}

.section-volunteering1{
display: flex;
justify-content: center;
}


.section-volunteering1 img{
width: 50%;
}

.section-publications1 img{
  width: 30%;
  }


























/* responsive */
/* tablet */
@media screen and (max-width: 768px) {
  .resume-container {
    padding: 1.5rem;
  }
  
  .section {
    padding: 1.5rem;
  }
  
  .two-column-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-left {
    margin-bottom: 1.5rem;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .education-entry-parent{
  flex-direction: column;
  }


  .project-details{
    flex-direction: column;
  }

  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .contact-info a {
      display: none;
  }
  .contact-info{
    display: flex;
    flex-direction: row;
    gap: 30px;
  }

  .contact-info i {
    font-size: 2em;
  
}
}




@media screen and (1000px<=width<=5500px)
{
    .main-image-map {
    width: 90%;
    height: 700px;
    position: relative;
    z-index: 199;

}
 .main-image-map img{
  height: 700px;
  margin-left: 110px;
 }
 #education{
  position: relative;
  left: 150px;
 }
}














/* mobile */
@media screen and (min-width:200px) and (max-width: 575px) {
  .resume-container {
    padding: 1rem;
  }
.picture-wrapper{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  }

  .section {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .project-details{
    flex-direction: column;
  }

  .main-image-map img {
    width: 100%;
    
    
  .education-gif img{
      width: 100%;
    }

  .flow-container {
    grid-template-columns: 1fr;
  }

  
/*
.education-entry {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--accent-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} */



.language-pic img{
  width: 100%;
}

  .languages-interests {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}

.section-languages-interests{
flex-direction: column;
}

.about-right p {
  text-align: justify;
  font-family: monospace;
  border-radius: none;
 
}

.about-right button {
  border: none;
}
.about-right button:hover {
  box-shadow: none;
}

.profile-picture {
  border: 5px;
  animation: borderColorChange 5s infinite;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.5);
}
@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color), 0 0 15px var(--accent-color);
  }
  50% {
    box-shadow: 0 0 20px var(--accent-color-hover), 0 0 30px var(--accent-color-hover), 0 0 40px var(--accent-color-hover);
  }
  100% {
    box-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color), 0 0 15px var(--accent-color);
  }
}

.contact-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: transparent;
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: color var(--transition-speed);
  position: relative;
  overflow: hidden;
}


.contact-button:hover {
  animation: glow 1.5s infinite;
  color: var(--accent-color-hover);
}




.picture1{
  width: 100%;
}




.section-volunteering1 img{
width: 100%;
}

.section-publications1 img{
  width: 100%;
  }

}






















.section-footer{
  display: flex;
  width: 100%;
  align-items: center;
}

/*
.section-footer{
  display: flex;
  gap: 100px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
*/

.section-footer1{
  width: 80%;
  padding-left: 250px;
}


/*
.section-footer1{
  flex-basis: 50%;
  gap: 5px;
  justify-content: left;
  width: 80%;
}
*/  

.section-footer2{
  display: flex;
  gap: 10px;
  justify-content: right;
  width: 80%;
}

/*
.section-footer2{
  display: flex;
  flex-basis: 50%;
  gap: 5px;
  justify-content: right;
  width: 80%;
}
*/

.copyright{
  display: flex;
  justify-content: center;
 
}

.copyright_final{
 justify-content: center;
 align-items: center;
}











/*contact me*/
.contact-container {
  width: 100%;
  margin: auto;
  justify-content: center;
justify-items: center;
align-items: center;
}


.contact-section h2 {
  font-size: 2.5rem;
  color: #38bdf8;
}

.contact-section p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #cbd5e1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  background: #1a0c32;
  border: 1px solid #475569;
  border-radius: 8px;
  box-shadow: 0px 5px 20px rgba(225, 83, 83, 0.538);
  color: #f8fafc;
  font-size: 1rem;
}

.contact-form button {
  background-color: #38bdf8;
  border: none;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0px 10px 20px rgba(139, 115, 225, 0.536);
  color: #0f172a;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #0ea5e9;
}

.contact-info {
  margin-top: 30px;
  text-align: left;
}

.contact-info div {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.contact-info i {
  color: #38bdf8;
  font-size: 1.2rem;
}


.get-in-touch{
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
}




@media screen and (min-width:200px) and (max-width: 575px) {
.get-in-touch{
    display: flex;
    flex-direction: column;
}

.contact-section p {
  font-size: 0.7rem;
}

.section-footer{
  display: flex;
  flex-direction: column;
  
}

.section-footer1{
  width: 100%;
}

.section-footer2{
  display: flex;
  justify-content: right;
  width: 20%;
}

}
