/*== Google Fonts ==*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400&family=Jost:ital,wght@0,400;0,500;1,400&display=swap');



/*=== Variables ===*/
:root{
    /*== Color ==*/
    --header-height: 3.5rem;
    --black-color: hsl(0,0%,0%);
    --white-color: hsl(0,0%,100%);
    --body-color: #101010;
    --title-color: hsl(0, 0%, 100%);
    --text-color: hsl(0,0%, 35%);
    --text-color-light-mode: hsl(0, 0%, 65%);
    --container-color: hsl(0, 0%, 83%);

    /*== Typography ==*/
    --biggest-font-size: 2.5rem;
    --h1-size: 1.75rem;
    --h2-size:1.25rem;
    --h3-size:1.125rem;
    --standard-Font-Size:1rem;
    --small-font-size: .8rem;
    --smallest-font-size: .7rem;

    --z-tooltop:10;
    --z-fixed: 100;
        /*== Weights ==*/
        --font-regular: 300;
        --font-medium: 400;

    /*== Dynamic Typography ==*/
    @media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4.5rem;
        --h1-size: 3rem;
        --h2-size:1.5rem;
        --h3-size:1.25rem;
        --standard-Font-Size:1rem;
        --small-font-size: .8rem;
        --smallest-font-size: .7rem;
         }
    }
        
    }

    /*=== General ===*/
    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    html{
    scroll-behavior: smooth;
    background: #101010;
    transition: background 0.4s ease;
    }

    body{
        font-family: 'Inter', 'Jost', sans-serif;
        font-size: var(--body-font);
        background: transparent;
        color: var(--text-color);
        width: auto;
        margin: auto;
        transition: color 0.4s ease;
    }

    a{
        text-decoration: none;
    }

    img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .backgroundimg{
      position: absolute;
      object-fit: fill;
    }

    .container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  grid-column-end: -1;
  width: auto;
  height: auto;
   align-items: center;
}

.section {
  padding-block: 4rem 2rem;
}

.section_title-1, 
.section_title-2 {
  position: relative;
  font-size: var(--h1-font-size);
  width: max-content;
  margin: .75rem auto 2rem;
}

.section_title-1 span, 
.section_title-2 span {
  z-index: 5;
  position: relative;
}

.section_title-1::after, 
.section_title-2::after {
  content: "";
  width: 40px;
  height: 28px;
  background-color: hsla(14, 98%, 50%, .2);
  position: absolute;
  top: -4px;
  right: -8px;
}

.section_title-2::after {
  top: initial;
  bottom: -4px;
}

.geometric-box {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--first-color);
  rotate: -30deg;
}


.geometric-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--black-color);
  left: -5px;
  top: -5px;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
  height: auto;
  align-content: center;

}
    /*== Header & Nav ==*/
    
    .header{
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background-color: var(--black-color);
        z-index: var(--z-fixed);
        transition: box-shadow .4s;

    }

    .nav{
        position: relative;
        height: var(--header-height);
        display:flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav_logo{
        display: flex;
        column-gap: .5rem;
        align-items: center;
        font-weight: var(--font-medium);
        color: var(--title-color);
    }
    .nav_logo-name{
        font-size: 1rem;
    }

    .nav_toggle{
        width: 32px;
        height: 32px;
        color: var(---color);
        display: grid;
        place-items: center;
      }
      


    /*== Stays in mobile mode  ==*/
    @media screen and (max-width:1150px) {
     
        .nav_menu{
            position: fixed;
            top: -200%;
            left: 0;
            background-color: var(--black-color);
            width: 100%;
            text-align: center;
            transition: top .4s;            
        }

        .nav_list{
            margin-bottom: 3rem;
        }

    }
    .nav_title,
    .nav_name,
    .nav_close{
        color: var(--white-color);
    }

    .nav_title{
        display: block;
        padding: 1rem;
        font-size: var(--smaller-font-size);
        font-weight: var(--font-medium);
        margin-bottom: 3.5rem;
    }
    
    .nav_name{
        position: relative;
        width: max-content;
        margin: 0 auto 3rem;
        font-size: var(--h2-size);
    }

    .nav_name::before,
    .nav_name::after{
        content:'';
        width:40px;
        height: 1px;
        background-color: var(--text-color-light-mode);
        position: absolute;
        top:50%;
        left:-4rem;
    }

    .nav_name::before{
        left:initial;
        right:-4rem;
    }
    .nav_list{
        display: grid;
        list-style-type: none;
        padding-inline-start: 0%;
    }
    
    .nav_link{
        position: relative;
        color: var(--title-color);
        font-size:var(--h3-size);
        font-weight: var(--font-medium);
        transition: color .3s;
    }
    .nav_item{
      padding: 0.5rem;
    }
    .nav_link::after{
        content: '';
        width:0;
        height: 2px;
        background-color: var(--white-color);
        position: absolute;
        left: 0;
        bottom: -.5rem;
        transition: width .3s;
    }
    
    .nav_link:hover{
        color: var(--white-color);
    }
    .nav_link:hover::after{
        width: 25%;
    }

    .nav_close{
        position: absolute;
        font-size:1.5rem;
        top: 0.75rem;
        right: 1.75rem;
        cursor:pointer;
        color: white;
    }

    .nav_buttons{
        color: white;
        display: flex;
        align-items: center;
        gap: 1rem;
    }


    .show-menu{
        top:0;
    }

    /*=== Home ===*/
    .home{
        justify-content: center;
        justify-self: center;
        align-self: center;
    }

    .home_container{
        padding-top: 2rem;
    }

    .home_name{
        font-size: var(--biggest-font-size);
        justify-self: center;
        text-align: center;
       
        color: white;
    }
    .home_section{
      margin: 3rem;
      justify-self: center;
      margin-left: auto;
      margin-right: auto;
    }

    .home_profile{
        position: relative;
        justify-self: center;
        will-change: transform;
    }

    .home_image{
        width: 270px;
        height: 270px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        border: 6px solid rgba(255,255,255,0.82);
        box-shadow:
          0 24px 64px rgba(0,0,0,0.55),
          inset 0 -12px 32px rgba(0,0,0,0.25);
    }

    body.light .home_image {
        border-color: rgba(0,0,0,0.15);
    }

    .home_image::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: radial-gradient(
          circle at 36% 32%,
          rgba(255,255,255,0.18) 0%,
          transparent 58%
        );
        pointer-events: none;
        z-index: 11;
    }

    .home_img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 50%;
        position: relative;
        z-index: 10;
    }

    .home_background_image{
        display: none;
    }
    
    .home_social {
        color:white;
        height: 50px;
        position:relative;
        text-align: center;
        font-size: 2rem;
      }

    .home_social_link{
        margin: rem;
        color: var(--white-color);
   
    }
      
      .home_description {
        text-align: center;
        color: var(--title-color);
        margin-bottom: 1rem;
        font-size: 1.5rem;
      }

      .typewriter_container {
        text-align: center;
        margin-bottom: 2rem;
        line-height: 1.5;
      }

      .typewriter_static {
        display: block;
        color: var(--title-color);
        font-size: 1.2rem;
        opacity: 0.75;
        margin-bottom: 0.2rem;
      }

      .typewriter_line {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        height: 4.8rem;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--title-color);
        overflow: hidden;
      }

      .typewriter_cursor {
        display: inline-block;
        width: 11px;
        height: 1.2em;
        background-color: var(--title-color);
        margin-left: 4px;
        vertical-align: middle;
        animation: cursor-blink 0.75s step-end infinite;
      }

      @keyframes cursor-blink {
        0%, 100% { opacity: 1; }
        50%       { opacity: 0; }
      }

      .home_introduction{
        color:white;
        text-align: center;
        margin: 1.2rem;
        font-size: 1.5rem;
      }



      .home_button{
        display: flex;
        width: 120px;
        height: 82px;
        margin: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: hsla(0, 0%, 100%, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid hsla(0, 0%, 100%, 0.18);
        font-family: 'Inter', 'Jost', sans-serif;
        color: white;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.35);
        transition: background-color 0.3s, box-shadow 0.3s;
      }

      .home_button:hover {
        background-color: hsla(0, 0%, 100%, 0.14);
        box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.45);
      }

      body.light .home_button {
        background-color: hsla(0, 0%, 0%, 0.06);
        border-color: hsla(0, 0%, 0%, 0.14);
        color: #1a1a1c;
      }

      body.light .home_button:hover {
        background-color: hsla(0, 0%, 0%, 0.1);
      }
    
    
.about{
  justify-content: center;
}

.about_section{
  margin: 2rem;
}


.about_img{
  position:relative;
  z-index: 10;
}


.about_background_image{
  position: absolute;
  z-index:5;
  top: 0.25rem;
  right: -.75rem;
  z-index: 5;
  transition: back;
}

.about_description{
  font-weight: var(--font-medium);
  margin: 1rem;
}

.about_info{
  display: flex;
  text-align: center;
  justify-content: center;
}


.about_container{
    padding-top: 2rem;
    flex-direction: row;
    grid-template-columns:auto;
    justify-self: center;
    justify-content: center;
}

.about_name{
    font-size: var(--biggest-font-size);
    justify-self: center;
    text-align: center;
    margin: 1.5rem;
    color: black;
}


.about_profile{
    width: 220px;
    position: relative;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    perspective: 600px;
}

.about_image {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}


.about_social {
    margin-top: 3rem;
    position: relative;
    text-align: center;
    font-size: 1.5rem;
    grid-auto-flow: column;
    height: auto;
    gap:2rem;
  }

  .about_social_link{
    margin-right: 2rem;
    color: var(--black-color);

}
  
.about_description {
    text-align: center;
    color: var(--title-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    height: fit-content;
  }

  .about_introduction{
    color:white;
    text-align: center;
    margin: 1.2rem;
    font-size: 2rem;
  }

  .about_button{
    width: 100px;
    height: 45px;
    margin-right: 2rem;
  }

  .about_button{
    margin-left: 0rem;
    background-color: #313D7B;
    font-family: 'Jost', sans-serif;
    font-weight: var(--font-medium);

    color: white;
    border: none;
    border-radius: 10%;
  }
  .about_button_holder{
    text-align: center;
    position:relative;
}
.about_feat{
  justify-content: center;
}

.about_feat_text{
  font-size: 1.0rem;
}
.about_subtext{
  font-size: 0.75rem;
}
.proficiencies_section{
  justify-self: center;
  height: fit-content;
}

.proficiencies_section{
  color: black;
  margin: 1rem;
}

.proficiencies_icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.proficiencies_pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--title-color);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: default;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.proficiencies_pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

body.light .proficiencies_pill {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light .proficiencies_pill:hover {
  background: rgba(0, 0, 0, 0.13);
  border-color: rgba(0, 0, 0, 0.18);
}

.projects_section{
  color: black;
  height: fit-content;

}
.project_container{
  display:grid;
  height: auto;
  padding-bottom: 2rem;
}
.project_cont{
  height:200px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.35);
}



.project{
  margin:2rem;
  overflow: hidden;
  height: fit-content;
  align-content: center;
}

.project_button{
  border: none;

}

.project_text{
  font-weight: var(--font-medium);
  position: relative;
  color: white;
  z-index: 1;
  pointer-events: none;
}
.project_img{
  position: absolute;
  filter: brightness(30%);
  transition: 0.4s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project_img:hover{
  position: absolute;
  filter: brightness(10%);
  transition: 0.4s;

}

.projects_image_preview{

}

.projects_more{
  color: white;
  margin-left: auto;
  margin-right: 0;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.projects_more_link {
  color: white;
}

.Work_section{
  color:black;
}

/*=== Experience Tabs ===*/
.experience_section{
  color: white;
  margin: 1rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
}

.experience_container{
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
}

.experience_tabs{
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  justify-content: flex-start;
  margin-bottom: 0;
  padding-inline: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.experience_tabs::-webkit-scrollbar {
  display: none;
}

.experience_tab{
  flex: 0 0 auto;
  min-width: 0;
  background-color: hsla(0, 0%, 0%, 0.3);
  color: var(--text-color-light-mode);
  font-family: 'Jost', sans-serif;
  font-size: var(--standard-Font-Size);
  font-weight: var(--font-medium);
  border: none;
  border-top: 1px solid hsla(0, 0%, 100%, 0.18);
  border-radius: 0;
  padding: 0.4rem 1.1rem 0.65rem;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
  transform: translateY(6px);
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(
    0 100%,
    100% 100%,
    calc(100% - 8px) 5px,
    calc(100% - 9px) 3px,
    calc(100% - 10px) 1.5px,
    calc(100% - 12px) 0.5px,
    calc(100% - 14px) 0,
    14px 0,
    12px 0.5px,
    10px 1.5px,
    9px 3px,
    8px 5px
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color .3s, color .3s, border-color .3s;
}

.experience_tab:hover{
  color: var(--white-color);
  background-color: hsla(0, 0%, 0%, 0.18);
}

.experience_tab.active{
  background-color: hsla(0, 0%, 100%, 0.08);
  color: var(--white-color);
  border-color: hsla(0, 0%, 100%, 0.18);
  padding-top: 0.75rem;
  z-index: 3;
  transform: translateY(0);
}

.experience_panels{
  position: relative;
  z-index: 2;
}

.experience_panel{
  background-color: hsla(0, 0%, 0%, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsla(0, 0%, 100%, 0.18);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--text-color-light-mode);
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.35);
}

.experience_panel[hidden]{
  display: none;
}

.experience_role{
  color: var(--white-color);
  font-size: 1.25rem;
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.experience_meta{
  color: var(--text-color-light-mode);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.experience_description{
  color: var(--white-color);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.experience_bullets{
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-color-light-mode);
  font-size: 0.95rem;
  line-height: 1.6;
}

.experience_bullets li{
  margin-bottom: 0.35rem;
}

/* Tablet + Desktop */
@media screen and (min-width: 768px) {
  .experience_section{
    margin: 2rem;
  }

  .experience_tabs{
    gap: 0.5rem;
  }

  .experience_tab{
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem 0.75rem;
  }

  .experience_tab.active{
    padding-top: 0.85rem;
  }

  .experience_panel{
    padding: 2rem 2.5rem;
  }

  .experience_role{
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1150px) {
  .experience_section{
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
}

.company_icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
  height: fit-content;
}

.company_icon{
  width: 45px;
}


.footer__container {
  padding-block:2rem;
  grid-template-columns: repeat(2, max-content);
  justify-content: space-between;
}

.footer_links{
  list-style: none;
  padding-bottom: 1rem;
  color: white;
}
.footer_link{
  color:white;
}

.footer {
  background-color: var(--black-color);
  position: relative;
  z-index: 2;
}

 /* For tablet devices */

 @media screen and (min-width: 768px) {

  .home_section{
    margin: 5rem;
  }

  .home_container {
      gap: 1rem 4rem;
      align-items: center;
      padding-block: 5.5rem;
      justify-self: center;
    }
    .home_profile {
      grid-column: 2/3;
      grid-row: 1/3;
    }
    .home_image {
      width: 420px;
      height: 420px;
    }

    .home_name, 
    .home_description {
      text-align: left;
    }
    .home_name {
      margin: 0rem;
      
      align-self: flex-end;
      text-align: left;
    }
    .home_info {
        
      text-align: right;
      margin-top: 0;
      align-self: flex-end;
    }
    .home_description {
      text-align: left;
      position: relative;
      font-size: var(--h2-font-size);
      margin-bottom: 1rem;
      font-size: 2rem;
    }

    .typewriter_container {
      text-align: left;
      margin-bottom: 3rem;
    }

    .typewriter_static {
      font-size: 1.4rem;
    }

    .typewriter_line {
      justify-content: flex-start;
      align-items: flex-start;
      font-size: 2rem;
      height: 5.6rem;
      overflow: hidden;
    }

    .typewriter_cursor {
      width: 13px;
      height: 1.2em;
    }

    .home_scroll {
      margin: 0;
      display: flex;
      align-items: center;
      column-gap: .75rem;
    }
    .home_scroll-text {
      display: block;
      color: var(--text-color);
      font-size: var(--smaller-font-size);
      font-weight: var(--font-medium);
    }
    .home_scroll-box {
      width: 44px;
      height: 44px;
    }
    .home_scroll-box i {
      font-size: 1.25rem;
    }
    .home_profile .geometric-box {
      top: 15rem;
    }
    .home_arrow {
      top: 4.5rem;
      left: -8rem;
      rotate: 80deg;
      width: 80px;
    }
    .home_line {
      left: -15rem;
      bottom: 4rem;
      width: 80px;
      rotate: 30deg;
    }
    .home_social {
      text-align: left;
      
    }
    .home_social-link {
      font-size: 1.5rem;
     
    }

    .home_introduction{
      text-align: left;
      margin: 0;
      font-size: 1.5rem;
    }

    .home_button{
      margin:0;
      margin-bottom: 1rem;
    }

    .home_button_holder{
      text-align: left;   

    }

    .about_container {
      gap: 1rem 4rem;
      align-items: center;
      padding-block: 5.5rem;
      justify-self: center;
    }
    
    .about_profile {
      grid-column: 1/2;
      grid-row: 1/2;
      width: 275px;
    }
  
    .about_description{
      grid-column: 2/2;
      grid-row: 1/2;
    }

    .about_social{
      font-size: 2rem;
    }
    .about_feat_text{
      font-size: 1.5rem;
    }
    .about_subtext{
      font-size: 1.25rem;
    }
    .proficiencies_section{
      margin:2rem;
    }


    
  .company_icon{
    width: 50px;
    justify-content: center;
    justify-self: center;
    margin: 1rem;
  }
}
  
  /* For large devices */
  @media screen and (min-width: 1150px) {
   
    .home_section{
      margin-top: 10rem;
      margin-bottom:10rem;
    }
    .about_section{
      margin-top:10rem;
      margin-bottom:10rem;
    }
    .home
    .nav_logo-name{
        font-size: 1.5rem;
    }

    .nav_logo{
        font-size: 1.5rem;
    }
    .container {
      margin-inline: auto;
    }
   
  
    .section {
      padding-block: 7rem 2rem;
    }
    .section_title-1::after, 
    .section_title-2::after {
      width: 70px;
      height: 48px;
    }
  
    .geometric-box {
      transform: scale(1.2);
    }
  
    .nav {
      height: calc(var(--header-height) + 2rem);
      column-gap: 4rem;
    }
    .nav_close, 
    .nav_toggle, 
    .nav_title, 
    .nav_name {
      display: none;
    }
    .nav_list {
      grid-auto-flow: column;
      column-gap: 4rem;

    }
    .nav_menu {
      margin-left: auto;
    }
    .nav_link {
      color: var(--text-color);
      font-size: var(--normal-font-size);
    }
    .nav_link:hover {
      color: var(--title-color);
    }
    .nav_link::after {
      background-color: var(--title-color);
    }
  
    .active-link {
      color: var(--title-color);
    }
  
    .nav_link-button {
      background-color: var(--black-color);
      color: var(--white-color);
      padding: 1.1rem 1.5rem;
    }
    .nav_link-button:hover {
      color: var(--white-color);
    }
    .nav_link-button::after {
      background-color: transparent;
    }
    .proficiencies_section{
      margin:5rem;
    }
    .company_icon{
      width: 100px;
      justify-content: center;
      justify-self: center;
      margin: 1rem;
    }
  }

/*=== Lava Lamp Background ===*/
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
  z-index: -1;
}

.blob-1 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle at center, #f72585 0%, #b5179e 40%, transparent 70%);
  top: -15vw;
  left: -5vw;
  opacity: 0.09;
  animation: blob-float-1 28s ease-in-out infinite;
}
.blob-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at center, #7209b7 0%, #560bad 40%, transparent 70%);
  bottom: -10vw;
  right: -5vw;
  opacity: 0.08;
  animation: blob-float-2 35s ease-in-out infinite;
  animation-delay: -7s;
}
.blob-3 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at center, #3a0ca3 0%, #3f37c9 40%, transparent 70%);
  top: 20vh;
  left: 25vw;
  opacity: 0.07;
  animation: blob-float-3 22s ease-in-out infinite;
  animation-delay: -12s;
}
.blob-4 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at center, #4361ee 0%, #4895ef 40%, transparent 70%);
  top: 5vh;
  right: 0;
  opacity: 0.08;
  animation: blob-float-4 30s ease-in-out infinite;
  animation-delay: -5s;
}
.blob-5 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at center, #4cc9f0 0%, #4895ef 40%, transparent 70%);
  bottom: 5vh;
  left: 5vw;
  opacity: 0.07;
  animation: blob-float-5 25s ease-in-out infinite;
  animation-delay: -18s;
}
.blob-6 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at center, #b5179e 0%, #7209b7 40%, transparent 70%);
  top: 45vh;
  right: 20vw;
  opacity: 0.06;
  animation: blob-float-6 32s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes blob-float-1 {
  0%   { transform: translate(0,    0)    scale(1);    }
  20%  { transform: translate(8vw,  12vh) scale(1.06); }
  40%  { transform: translate(4vw,  22vh) scale(0.94); }
  60%  { transform: translate(14vw, 8vh)  scale(1.05); }
  80%  { transform: translate(6vw,  4vh)  scale(0.97); }
  100% { transform: translate(0,    0)    scale(1);    }
}
@keyframes blob-float-2 {
  0%   { transform: translate(0,     0)     scale(1);    }
  25%  { transform: translate(-10vw, -12vh) scale(1.07); }
  50%  { transform: translate(-4vw,  -20vh) scale(0.93); }
  75%  { transform: translate(-14vw, -6vh)  scale(1.04); }
  100% { transform: translate(0,     0)     scale(1);    }
}
@keyframes blob-float-3 {
  0%   { transform: translate(0,    0)    scale(1);    }
  33%  { transform: translate(-6vw, 14vh) scale(1.08); }
  66%  { transform: translate(10vw, -6vh) scale(0.92); }
  100% { transform: translate(0,    0)    scale(1);    }
}
@keyframes blob-float-4 {
  0%   { transform: translate(0,     0)    scale(1);    }
  30%  { transform: translate(-12vw, 12vh) scale(1.05); }
  60%  { transform: translate(-6vw,  22vh) scale(0.95); }
  100% { transform: translate(0,     0)    scale(1);    }
}
@keyframes blob-float-5 {
  0%   { transform: translate(0,    0)     scale(1);    }
  40%  { transform: translate(10vw, -16vh) scale(1.07); }
  80%  { transform: translate(4vw,  -8vh)  scale(0.94); }
  100% { transform: translate(0,    0)     scale(1);    }
}
@keyframes blob-float-6 {
  0%   { transform: translate(0,    0)     scale(1);    }
  35%  { transform: translate(-8vw, -14vh) scale(1.05); }
  70%  { transform: translate(6vw,  -22vh) scale(0.96); }
  100% { transform: translate(0,    0)     scale(1);    }
}

body.light .blob { mix-blend-mode: multiply; }
body.light .blob-1 { opacity: 0.2;  }
body.light .blob-2 { opacity: 0.18; }
body.light .blob-3 { opacity: 0.15; }
body.light .blob-4 { opacity: 0.2;  }
body.light .blob-5 { opacity: 0.18; }
body.light .blob-6 { opacity: 0.15; }

/*=== Mouse-follow gradient ===*/
#gradient {
  position: fixed;
  width: 345px;
  height: 345px;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f72585, #b5179e, #7209b7, #560bad,
    #480ca8, #3a0ca3, #3f37c9, #4361ee,
    #4895ef, #4cc9f0, #f72585
  );
  filter: blur(65px);
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  z-index: -1;
}

body.light #gradient {
  mix-blend-mode: multiply;
  opacity: 0.45;
}

@media (max-width: 600px) {
  #gradient { width: 240px; height: 240px; filter: blur(50px); }
}

/*=== Dark mode toggle ===*/
.dark-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dark-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--white-color);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease, transform 0.3s ease;
}

.dark-toggle:hover svg {
  transform: rotate(-15deg);
}

body.light .dark-toggle svg {
  stroke: #1a1a1c;
}

/* Dark mode base rules (keep white text without inline styles) */
.Work_section p { color: white; }
.footer__copy,
.footer__copy a { color: white; }

/*=== Contact Form ===*/
.contact_form_wrapper {
  max-width: 620px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact_form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 500px) {
  .contact_form_row { grid-template-columns: 1fr; }
}

.contact_form_group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact_form_group label {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-color-light-mode);
}

.contact_form_group input,
.contact_form_group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--title-color);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact_form_group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact_form_group input::placeholder,
.contact_form_group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact_form_group input:focus,
.contact_form_group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.contact_form_submit {
  align-self: center;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 10px;
  background: #4361ee;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact_form_submit:hover {
  background: #3a56d4;
  transform: translateY(-1px);
}

.contact_form_submit:active {
  transform: translateY(0);
}

.contact_form_success {
  text-align: center;
  padding: 2rem;
  color: #4cc9f0;
  font-size: 1.1rem;
}

.contact_form_error {
  text-align: center;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(247, 37, 133, 0.12);
  border: 1px solid rgba(247, 37, 133, 0.3);
  color: #f72585;
  font-size: 0.9rem;
}

body.light .contact_form_group input,
body.light .contact_form_group textarea {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1a1c;
}

body.light .contact_form_group input::placeholder,
body.light .contact_form_group textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

body.light .contact_form_group input:focus,
body.light .contact_form_group textarea:focus {
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.08);
}

/*=== Light mode overrides ===*/
html.light {
  background: #f0f0f2;
}

body.light {
  background: transparent !important;
  --title-color: #1a1a1c;
  --text-color: #4a4a4c;
  --text-color-light-mode: #6a6a6c;
}

body.light .header {
  background-color: rgb(240, 240, 242);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.light .nav_menu {
  background-color: rgb(240, 240, 242);
}

body.light .nav_buttons {
  color: #1a1a1c;
}

body.light .nav_title,
body.light .nav_name,
body.light .nav_close,
body.light .nav_link,
body.light .nav_logo,
body.light .nav_logo-name {
  color: #1a1a1c;
}

body.light .home_name,
body.light .home_introduction,
body.light .home_description,
body.light .home_social_link,
body.light .about_introduction,
body.light .about_description,
body.light .experience_role,
body.light .experience_description {
  color: #1a1a1c;
}

body.light .experience_tab {
  background-color: hsla(0, 0%, 0%, 0.08);
  color: #1a1a1c;
  border-top-color: hsla(0, 0%, 0%, 0.15);
}

body.light .experience_tab:hover {
  background-color: hsla(0, 0%, 0%, 0.14);
  color: #1a1a1c;
}

body.light .experience_tab.active {
  background-color: hsla(0, 0%, 0%, 0.05);
  color: #1a1a1c;
  border-top-color: hsla(0, 0%, 0%, 0.2);
}

body.light .experience_panel {
  background-color: hsla(0, 0%, 100%, 0.65);
  border-color: hsla(0, 0%, 0%, 0.1);
  color: #1a1a1c;
}

body.light .projects_more a,
body.light .projects_more_link,
body.light .projects_more i {
  color: #1a1a1c;
}

body.light .Work_section p {
  color: #1a1a1c !important;
}

body.light .footer {
  background-color: #e0e0e2;
}

body.light .footer_link,
body.light .footer_links,
body.light .footer__copy,
body.light .footer__copy a {
  color: #1a1a1c !important;
}