@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{
  /*=======Main theme colors=======*/
  --first-color: #0e2431;
  --second-color: #5b4dc7;
  --third-color: #777;
  --metric-color: #10b981;

  /*=======Hover colors=======*/
  --hover-color: #4f42b5;

  /*=======Background colors=======*/
  --body-bg-color: #fefefe;
  --card-bg-color: #fff;
  --modal-bg-color: #fff;
  --bg-transparent-color: rgba(0, 0, 0, 0.1);
  --transparent-color-01: rgba(0, 0, 0, 0.1);
  --transparent-color-02: rgba(91, 77, 199, 0.1);
  --line-color: #d7d7d7;

  /*=======Color Filter=======*/
  --color-filter: invert(1);

  /*=======Box shadow=======*/
  --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);

  /*=======Font size=======*/
  --small-font-size: 0.9em;
  --normal-font-size: 1em;

  /*=======Scroll bar colors=======*/
  --scroll-bar-color: #c5cadf;
  --scroll-thumb-color: #70768a;
  --scroll-thumb-hover-color: #454f6b;

  /*=======Toast colors=======*/
  --toast-success-bg: #e8f5e9;
  --toast-success-color: #2e7d32;
  --toast-error-bg: #ffebee;
  --toast-error-color: #c62828;
}

.dark-theme{
  /*=======Main theme colors=======*/
  --first-color: #fff;
  --second-color: #5b4dc7;
  --third-color: #b8bfd4;
  --metric-color: #34d399;

  /*=======Background colors=======*/
  --body-bg-color: #0e1b31;
  --card-bg-color: #152a52;
  --modal-bg-color: #102048;
  --bg-transparent-color: rgba(255, 255, 255, 0.1);
  --transparent-color-01: rgba(255, 255, 255, 0.1);
  --line-color: #454f6b;

  /*=======Color Filter=======*/
  --color-filter: invert(0);

  /*=======Scroll bar colors=======*/
  --scroll-bar-color: #c1ceff;
  --scroll-thumb-color: #282f4e;
  --scroll-thumb-hover-color: #454f6b;

  /*=======Toast colors=======*/
  --toast-success-bg: #1b3a1e;
  --toast-success-color: #66bb6a;
  --toast-error-bg: #3e1a1a;
  --toast-error-color: #ef5350;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, .section-title-01, .section-title-02, .nav-bar .logo{
  font-family: 'Space Grotesk', sans-serif;
}

html{
  scroll-behavior: smooth;
}

body{
  color: var(--first-color);
  background: var(--body-bg-color);
  margin: 2rem 0 0 0;
  transition: .5s ease;
  line-height: 1.7;
}

a{
  text-decoration: none;
}

li{
  list-style: none;
}

/*=======Accessibility: Screen reader only=======*/
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*=======Accessibility: Focus visible states=======*/
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.filter-btn:focus-visible,
.theme-btn:focus-visible,
.scrollToTop-btn:focus-visible{
  outline: 2px solid var(--second-color);
  outline-offset: 2px;
}

/*=======Scroll to top button=======*/
.scrollToTop-btn{
  z-index: 99999;
  position: fixed;
  right: 0;
  bottom: 20px;
  width: 45px;
  height: 45px;
  background: var(--second-color);
  color: #fff;
  font-size: var(--small-font-size);
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: .5s ease;
}

.scrollToTop-btn.active{
  right: 20px;
  pointer-events: all;
  opacity: 1;
}

/*=======Light/Dark theme button=======*/
.theme-btn{
  z-index: 999999;
  position: fixed;
  right: 0;
  top: 100px;
  background: var(--transparent-color-01);
  backdrop-filter: blur(20px);
  width: 50px;
  height: 50px;
  font-size: 1.2em;
  border-radius: 5px 0 0 5px;
  box-shadow: var(--box-shadow);
  cursor: pointer;
}

.theme-btn .fa-sun, .theme-btn.sun .fa-moon{
  display: none;
}

.theme-btn.sun .fa-sun{
  display: block;
}

/*=======Scroll bar=======*/
::-webkit-scrollbar{
  width: 10px;
  background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
  background: var(--scroll-thumb-color);
  border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover{
  background: var(--scroll-thumb-hover-color);
}

/*=======Header=======*/
header{
  z-index: 99999;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(20px);
  transition: .6s ease;
}

header.sticky{
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--box-shadow);
}

.nav-bar{
  position: relative;
  height: calc(4rem + 1rem);
  max-width: 1250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  transition: .6s ease;
}

header.sticky .nav-bar{
  height: calc(2.5rem + 1rem);
}

.nav-bar .logo{
  color: var(--first-color);
  font-size: 1.3em;
  font-weight: 600;
}

.nav-items a{
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
}

.nav-items a.active{
  color: var(--second-color);
}

.nav-items a:not(:last-child){
  margin-right: 50px;
}

.nav-items a:hover{
  color: var(--second-color);
}

.nav-menu-btn{
  display: none;
}

/*=======Home section=======*/
.home{
  position: relative;
  max-width: 1250px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;
  flex-direction: column;
}

.home .home-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.home-container .media-icons{
  display: flex;
  flex-direction: column;
  margin-right: 40px;
}

.home-container .media-icons a{
  color: var(--second-color);
  font-size: 1.5em;
  margin: 10px 0;
}

.home-container .media-icons a:hover{
  color: var(--hover-color);
}

.home-container .info h2{
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.home-container .info h3{
  color: var(--third-color);
  font-size: 1.3em;
  font-weight: 600;
  line-height: 50px;
}

.home-container .info .hero-kicker{
  font-family: 'Inter', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--second-color);
  margin-bottom: 4px;
}

.home-container .info p{
  color: var(--third-color);
  font-size: var(--normal-font-size);
  max-width: 350px;
}

.btn{
  background: var(--second-color);
  color: #fff;
  font-size: var(--normal-font-size);
  font-weight: 600;
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover{
  background: var(--hover-color);
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(91, 77, 199, 0.3);
}

.btn-outline{
  background: transparent;
  color: var(--second-color);
  border: 2px solid var(--second-color);
  padding: 12px 26px;
}

.btn-outline:hover{
  background: var(--second-color);
  color: #fff;
}

.home-container .btn-group{
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.home-container .home-img{
  position: relative;
}

.home-container .home-img img{
  width: 90%;
  transform: translate(0, 0);
}

.home .scroll-down{
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
  margin-top: 20px;
}

.home .scroll-down i{
  color: var(--second-color);
  font-size: 1.2em;
  animation: arrow-down ease 2s infinite;
}

@keyframes arrow-down{
  0%{
    transform: translateY(0);
  }
  30%{
    transform: translateY(10px);
  }
}

/*=======Common styles for all sections=======*/
.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

.section{
  position: relative;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 2rem 2rem;
}

.sub-section{
  position: relative;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 0;
}

.section-title-01{
  font-size: 4.5em;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(to top, transparent 0%, var(--first-color) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .1;
}

.section-title-02{
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  transform: translateY(-80px);
}

.section-title-02:before{
  content: '';
  position: absolute;
  width: 70px;
  height: 5px;
  right: 0;
  bottom: 0;
  background: var(--second-color);
  animation: titleAccent 0.6s ease forwards;
}

@keyframes titleAccent{
  from{ width: 0; }
  to{ width: 70px; }
}

.container{
  position: relative;
  flex-direction: column;
}

/*=======About section=======*/
.about .container .content{
  column-gap: 40px;
  width: 100%;
}

.about-img{
  position: relative;
}

.about-img img{
  max-width: 100%;
  min-width: 500px;
  border-radius: 10px;
  border: 2px solid var(--line-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-info .description{
  max-width: 600px;
}

.about-info .description h3{
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-info .description h4{
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-info .description h4 span{
  color: var(--second-color);
}

.about-info .description p{
  color: var(--third-color);
  font-size: var(--normal-font-size);
  margin-bottom: 15px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--line-color);
}

/*=======About: Expertise Bullets=======*/
.expertise-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.expertise-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--normal-font-size);
  font-weight: 500;
  color: var(--first-color);
}

.expertise-list li i{
  color: var(--second-color);
  font-size: 1.1em;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/*=======About: Languages Row=======*/
.languages-row{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--third-color);
  font-size: var(--normal-font-size);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--line-color);
}

.languages-row i{
  color: var(--second-color);
  font-size: 1.2em;
}

.about-info .professional-list{
  display: flex;
  column-gap: 30px;
}

.about-info .professional-list .list-item{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 15px;
  margin-bottom: 20px;
}

.about-info .professional-list .list-item h3{
  font-size: 2.5em;
  font-weight: 700;
}

.about-info .professional-list .list-item span{
  color: var(--third-color);
  font-size: var(--small-font-size);
}

/*=======About: Recognition heading=======*/
.recognition-heading{
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--first-color);
  align-self: flex-start;
  width: 100%;
}

/*=======Awards Section=======*/
.awards-strip{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0;
}

.award-card{
  background: var(--card-bg-color);
  border: 1.5px solid var(--second-color);
  border-radius: 10px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
}

.award-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.award-card i{
  color: var(--second-color);
  font-size: 1.6em;
  flex-shrink: 0;
}

.award-card .award-info h4{
  font-size: 0.95em;
  font-weight: 600;
  color: var(--first-color);
  line-height: 1.3;
}

.award-card .award-info span{
  color: var(--third-color);
  font-size: var(--small-font-size);
}

/*=======Skills section=======*/
.skills .container .content{
  width: 100%;
}

.skills-description{
  max-width: 700px;
  margin-bottom: 50px;
}

.skills-description h3{
  font-size: 2em;
  margin-bottom: 5px;
}

.skills-info{
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.skills-info h4{
  margin-bottom: 20px;
}

.skills-info h4 label{
  background: var(--second-color);
  color: #fff;
  font-size: var(--normal-font-size);
  font-weight: 400;
  padding: 5px 15px;
  border-radius: 5px;
}

.education-all{
  margin-bottom: 80px;
}

.edu-list .item{
  background: var(--card-bg-color);
  box-shadow: var(--box-shadow);
  border-left: 3px solid var(--second-color);
  padding: 20px;
  margin-top: 15px;
  border-radius: 6px;
  transition: .3s ease;
}

.edu-list .item .year{
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 5px;
}

.edu-list .item p{
  color: var(--third-color);
  font-size: var(--small-font-size);
}

.edu-list .item p span{
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
}

/*=======Skill Chips (replaces progress bars)==========*/
.skill-chips-group{
  background: var(--card-bg-color);
  box-shadow: var(--box-shadow);
  padding: 25px;
  border-radius: 6px;
  transition: .3s ease;
}

.skill-chips-group h4{
  margin-bottom: 12px;
}

.skill-chips-container{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip{
  border: 1.5px solid var(--second-color);
  color: var(--second-color);
  font-size: var(--small-font-size);
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: default;
}

.skill-chip:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 77, 199, 0.2);
  background: var(--second-color);
  color: #fff;
}

.dark-theme .skill-chip{
  background: var(--second-color);
  color: #fff;
}

.dark-theme .skill-chip:hover{
  box-shadow: 0 4px 12px rgba(91, 77, 199, 0.4);
}

.experience-card{
  background: var(--card-bg-color);
  border-left: 3px solid var(--second-color);
  padding: 35px;
  border-radius: 6px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.experience-card .upper{
  line-height: 30px;
}

.experience-card h3{
  font-size: 1.3em;
  font-weight: 700;
}

.experience-card h5{
  font-size: var(--small-font-size);
  font-weight: 500;
  font-style: italic;
}

.experience-card span{
  color: var(--third-color);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.experience-card .hr{
  width: 100%;
  height: 2px;
  background: var(--line-color);
  margin: 10px 0 22px;
}

.experience-card .impact-list{
  margin-top: 12px;
  padding-left: 0;
}

.experience-card .impact-list li{
  color: var(--third-color);
  font-size: var(--small-font-size);
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.experience-card .impact-list li::before{
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--second-color);
  font-size: 0.8em;
}

.experience-card h4 label{
  background: #e00;
}

.edu-list .item:hover, .skill-chips-group:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/*=======Portfolio section=======*/
.portfolio .container .content{
  width: 100%;
}

/*=======Portfolio Filters=======*/
.portfolio-filters{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn{
  border: 1.5px solid var(--second-color);
  color: var(--second-color);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: var(--small-font-size);
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.filter-btn:hover{
  transform: translateY(-2px);
}

.filter-btn.active{
  background: var(--second-color);
  color: #fff;
}

.portfolio-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 100%;
  gap: 35px;
  margin: 0 auto;
}

.portfolio-list .img-card-container{
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-list .img-card-container.hidden{
  display: none;
}

.portfolio-list .img-card{
  position: relative;
  max-width: 100%;
  height: 360px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-list .img-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/*=======Card metric highlight=======*/
.card-description .metric{
  color: var(--metric-color);
  font-weight: 600;
}

.portfolio-list .img-card .overlay{
  transition: 1s ease;
}

.portfolio-list .img-card:hover .overlay{
  z-index: 777;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(14, 36, 49, 0.85), rgba(91, 77, 199, 0.3));
}

.portfolio-list .img-card .info{
  z-index: 777;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 20px;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: .5s ease;
}

.portfolio-list .img-card:hover .info{
  transform: translateY(0);
  opacity: 1;
}

.portfolio-list .img-card .info h3{
  font-size: 1.5em;
}

.portfolio-list .img-card .info span{
  font-size: 1.2em;
}

.portfolio-list .img-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*=======Card Tech Tags (always visible)==========*/
.card-tech-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
}

.card-tech-tags .tech-tag{
  background: var(--transparent-color-02);
  color: var(--second-color);
  font-size: 0.75em;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
}

.card-description{
  color: var(--third-color);
  font-size: var(--small-font-size);
  padding: 0 14px 10px;
  line-height: 1.4;
}

.porfolio-model{
  z-index: 999999;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: var(--transparent-color-01);
  backdrop-filter: blur(20px);
  visibility: hidden;
  opacity: 0;
  transition: .3s ease;
}

.porfolio-model.active{
  visibility: visible;
  opacity: 1;
}

.portfolio-model-body{
  position: relative;
  background: var(--modal-bg-color);
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transform: translateY(-50px);
  transition: .5s ease;
}

.porfolio-model.active .portfolio-model-body{
  transform: translateY(0);
}

.portfolio-close-btn{
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  cursor: pointer;
  font-size: 1.2em;
}

.portfolio-model-body h3{
  font-size: 1.5em;
}

.portfolio-model-body img{
  width: 100%;
  margin: 20px 0;
  border-radius: 10px;
}

.portfolio-model-body h4{
  font-size: 1.1em;
  font-weight: 600;
  margin: 12px 0 6px;
  color: var(--second-color);
}

.portfolio-model-body ul{
  padding-left: 20px;
  margin-bottom: 10px;
}

.portfolio-model-body ul li{
  color: var(--third-color);
  font-size: var(--small-font-size);
  margin-bottom: 4px;
  list-style: disc;
}

/*=======Contact section=======*/
.contact .container .content{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.contact-left h2{
  font-size: 2.1em;
  font-weight: 800;
  margin-bottom: 40px;
}

.contact-list li{
  margin-bottom: 40px;
}

.contact-list li h3{
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-list li h3 i{
  color: var(--second-color);
  font-size: 1.3em;
  margin-right: 10px;
}

.contact-list li span{
  color: var(--third-color);
  margin-left: 40px;
}

.contact-list li span a{
  color: var(--third-color);
}

.contact-right p{
  color: var(--third-color);
  font-size: 1.6em;
  margin-bottom: 30px;
}

.contact-right p span{
  color: var(--first-color);
  font-weight: 700;
}

.contact-form input, .contact-form textarea{
  border: 2px solid transparent;
  color: var(--first-color);
  background: var(--transparent-color-02);
  font-size: var(--normal-font-size);
  margin-bottom: 5px;
  padding: 15px 40px 40px 20px;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.contact-form input.input-error, .contact-form textarea.input-error{
  border-color: #c62828;
}

.field-error{
  color: #c62828;
  font-size: 0.8em;
  margin-bottom: 10px;
  min-height: 18px;
  display: block;
}

.dark-theme .contact-form input.input-error, .dark-theme .contact-form textarea.input-error{
  border-color: #ef5350;
}

.dark-theme .field-error{
  color: #ef5350;
}

.contact-form textarea{
  width: 100%;
  resize: none;
}

::placeholder{
  color: var(--first-color);
}

.contact-form .first-row input{
  width: 100%;
}

.contact-form .second-row{
  display: flex;
  justify-content: space-between;
}

.contact-form .second-row input{
  width: 48%;
}

.contact-form .second-row .field-wrapper{
  width: 48%;
}

.contact-form .second-row .field-wrapper input{
  width: 100%;
}

.contact-form .btn{
  border: none;
  margin-top: 0;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.contact-form .btn:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form .btn .fa-spinner{
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/*=======Toast Notification=======*/
.toast-notification{
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: var(--normal-font-size);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toast-notification.show{
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notification.success{
  background: var(--toast-success-bg);
  color: var(--toast-success-color);
}

.toast-notification.error{
  background: var(--toast-error-bg);
  color: var(--toast-error-color);
}

/*=======Company Evolution Banner=======*/
.company-evolution{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  width: 100%;
}

.company-evolution .evo-pill{
  background: var(--card-bg-color);
  color: var(--third-color);
  font-size: var(--small-font-size);
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--line-color);
  white-space: nowrap;
}

.company-evolution .evo-pill.current{
  background: var(--second-color);
  color: #fff;
  border-color: var(--second-color);
  font-weight: 600;
}

.company-evolution .evo-arrow{
  color: var(--third-color);
  font-size: 0.85em;
}

/*=======Experience toggle=======*/
.experience-card.exp-hidden{
  display: none;
}

.exp-toggle-btn{
  background: transparent;
  border: 1.5px solid var(--second-color);
  color: var(--second-color);
  font-family: 'Inter', sans-serif;
  font-size: var(--small-font-size);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.exp-toggle-btn:hover{
  background: var(--second-color);
  color: #fff;
}

/*=======Education toggle=======*/
.edu-list .item.edu-hidden{
  display: none;
}

.edu-toggle-btn{
  background: transparent;
  border: 1.5px solid var(--second-color);
  color: var(--second-color);
  font-family: 'Inter', sans-serif;
  font-size: var(--small-font-size);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.edu-toggle-btn:hover{
  background: var(--second-color);
  color: #fff;
}

/*=======Proprietary note=======*/
.proprietary-note{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--transparent-color-02);
  color: var(--third-color);
  font-size: 0.85em;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  margin: 10px 0;
}

.proprietary-note i{
  color: var(--second-color);
  font-size: 0.9em;
}

/*=======Footer=======*/
footer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(135deg, #4f42b5, #5b4dc7, #6b5dd0);
  width: 100%;
  margin-top: 50px;
  padding: 3rem 2rem;
  color: #fff;
}

footer a{
  color: #fff;
}

.footer-container{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1150px;
}

.footer-container .about h2{
  font-size: 3em;
  font-weight: 600;
  background: linear-gradient(to top, transparent 0%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .8;
}

.footer-container .about p{
  font-size: var(--normal-font-size);
  font-weight: 300;
  margin-bottom: 30px;
}

.footer-container .info,
.footer-container .follow{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-container .info h3,
.footer-container .follow h3{
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 30px;
}

.footer-container .info ul,
.footer-container .follow ul{
  display: flex;
}

.footer-container .info a{
  margin: 20px;
}

.footer-container .follow a{
  font-size: 1.5em;
  margin: 20px;
}

.footer-copyright p{
  font-size: var(--normal-font-size);
  font-weight: 300;
  margin-top: 50px;
}

/*=======Media query max-width 1070px=======*/
@media screen and (max-width: 1070px){
  /*=======Header navigation menu=======*/
  .navigation{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--transparent-color-01);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
  }

  .navigation.active{
    visibility: visible;
    opacity: 1;
  }

  .nav-items{
    position: relative;
    background: var(--modal-bg-color);
    width: 600px;
    max-width: 600px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transform: translateY(-50px);
    transition: .3s ease;
  }

  .navigation.active .nav-items{
    transform: translateY(0);
  }

  .nav-items a{
    margin: 15px 50px;
  }

  .nav-close-btn{
    position: absolute;
    background: url(../images/close-btn.png)no-repeat;
    filter: var(--color-filter);
    background-size: 12px;
    background-position: center;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
  }

  .nav-menu-btn{
    background: url(../images/menu-btn.png)no-repeat;
    filter: var(--color-filter);
    background-size: 30px;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: block;
  }

  /*=======Home section=======*/
  .home .home-container .info{
    font-size: 0.95rem;
  }

  /*=======About section=======*/
  .about .container .content{
    display: grid;
    width: 100%;
    row-gap: 20px;
  }

  .about-img img{
    min-width: 0;
    width: 100%;
  }

  .about-info{
    min-width: 0;
    width: 100%;
  }

  .about-info .professional-list{
    flex-direction: column;
  }

  .about-info .professional-list .list-item{
    justify-content: start;
  }

  /*=======Awards=======*/
  .awards-strip{
    justify-content: center;
  }

  .award-card{
    max-width: 100%;
  }

  /*=======Contact section=======*/
  .contact .content{
    flex-direction: column;
    font-size: 0.9rem;
  }

  .contact .contact-left{
    margin-bottom: 40px;
  }

  .contact-form .second-row{
    flex-direction: column;
  }

  .contact-form .second-row input{
    width: 100%;
  }

  .contact-form .second-row .field-wrapper{
    width: 100%;
  }

  /*=======Footer=======*/
  footer .footer-container{
    flex-direction: column;
  }

  .footer-container .about, .footer-container .info{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
  }

  .footer-container .info ul{
    align-items: center;
    flex-direction: column;
  }

  .footer-container .info ul li{
    margin: 5px 0;
  }

  .footer-container .hr{
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0 22px;
  }
}

/*=======Media query max-width 730px=======*/
@media screen and (max-width: 730px){
  /*=======Common styles for all sections=======*/
  body{
    margin: 5rem 0 0 0;
  }

  .section-title-01{
    font-size: 3em;
  }

  .section-title-02{
    font-size: 2em;
    transform: translateY(-65px);
  }

  /*=======Home section=======*/
  .home .home-container{
    display: grid;
  }

  .home-container .home-img{
    position: relative;
    text-align: center;
    margin-top: 20px;
  }

  .home-container .home-img img{
    width: 65%;
    transform: none;
  }

  .home .home-container .info{
    font-size: 1rem;
  }

  .media-icons{
    margin-bottom: 80px;
  }

  /*=======Expertise bullets=======*/
  .expertise-list{
    grid-template-columns: 1fr;
  }

  /*=======Portfolio filters=======*/
  .portfolio-filters{
    gap: 8px;
  }

  .filter-btn{
    padding: 6px 16px;
    font-size: 0.8em;
  }
}

/*=======Accessibility: Reduced motion=======*/
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
