html {
    scroll-behavior: smooth !important; 
}
  /* background: linear-gradient(to right, #4facfe, #00f2fe);
  background: linear-gradient(to right, #0072ff, #00c6ff); */
body{
    background-color: #F8FAFC;
    /* background-color: #1F0D2e; */
    overflow-x:  hidden;
    font-family: Arial, sans-serif;
}
.navbar {
    box-shadow: 0 5px 6px #E2E8F0;
    margin: 0 !important;
}
.navbar a {
    text-decoration: none;
    padding: 3px 10px;
    position: relative;
    transition: 0.3s;
}
.navbar a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: #007bff;
    transition: width 0.3s ease, left 0.3s ease;
}
.navbar-nav .active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: #007bff;
    transition: width 0.3s ease, left 0.3s ease;
}
.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
    left: 0;
    background: linear-gradient(to right, #1E3A8A, #3B82F6);
}
.navbar-brand {
    margin: 0 10px;
    font-size: 2rem;
    font-weight: bold;
    color: #144dff !important;
}
.nav-link {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    color: #144dff !important;
    text-transform: capitalize;
    transition: 0.8s;
}
.active{
    color: #144dff !important;
}
.nav-link:hover {
    color: #007bff !important;
}
.navbar-nav {
    margin: 0 auto;
}
#link{
    margin-left: 50px;
    margin-right: 15px;
    cursor: pointer;
    color: blue;
    text-transform: capitalize;
    border: 2px solid #144dff ;
    outline: none;
    border-radius: 8px;
    width: 140px;
    padding: 10px;
    font-size: 1rem;
    background-color: transparent;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}
#link:hover{
    transform: scale(1.05);
    background: linear-gradient(to right, #3B82F6, #1E3A8A);
    border: 1px solid navy;
    color: white;
    background-color: transparent;
}
.navbar-nav{
    border-radius: 15px;
    padding: 3px;
    width: auto;
    display: flex;
    justify-content: space-around;
    list-style: none;
}
.navbar-nav li a{
    color: #144dff;
    margin: 0 25px;
}
.hidden{
    color:transparent;
    background-color: #007bff;
}
#nav{
    animation: to_bottom 1s ease forwards;
}
.cont{
    margin: 5px !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}
.cont img{
    position: relative;
    top: 40px;
    margin: 0 20px !important;
    width: 320px;
    border-radius: 7px;
    box-shadow: 0 0 7px 4px  #2b65c2;
    opacity: 0;
    animation: to_right 1s ease forwards 0.3s;

}
.cont img:hover{
    scale: 1.05;
    transition: 0.3s;
}
.exp{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.stats-container {
    display: flex;
    background: #ecf0f6e1;
    border: 1px solid #144dff;
    border-radius: 10px;
    padding: 10px;
    height: 120px;
    margin-top: 50px;
    opacity: 0;
    animation: to_right 1s ease forwards 0.3s;
}
.stat {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid #007bff;
}
.stat:last-child {
    border-right: none;
}
.stat h2 {
    color: blue;
    margin: 0;
}
.stat p {
    color: #666666;
    margin: 5px 0 0;
}
.about{
    position: relative;
    top: 40px;
    opacity: 0;
    animation: to_left 1s ease forwards 0.3s;
}
.about h1{
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}
.about p{
  color: var(--text-secondary);
    width: 70%;
    margin: 10px 0;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: bold;
    font-size: 1.2rem;
}
.skills{
    font-weight: bold;
    font-size: 2.3rem;
    background-image: linear-gradient(to right, #3B82F6, #1E3A8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.detali{
    display: flex;
    gap: 50px;
    
}
 .fass{
    color: #144dff;
    margin: 12px auto;
    width: 55px;
    height: 55px;
    border-radius: 8px;
    background-color: #f0f5fedb;
    padding: 10px;
    justify-content: center !important;
}
.card{
    background: white;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ,scale 0.3s ease-in-out;
    cursor: pointer;
}
.education-card p {
   color: #666;
   font-size: 1rem;
 }
.card h3{
    font-weight: bold;
    text-transform: capitalize;
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.card p{
    width: 100%;
    line-height: 1.3;
    font-weight: 400;
    color: #666;
    font-size: 1rem;    
}
.card:hover{
    scale: 1.04;
}
.botton{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.detali .education-card{
  padding: 7px;
  text-transform: capitalize;
  height: 275px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ,scale 0.3s;
}
.detali .education-card p{
  padding: 10px;
  width: 100%;
  justify-content: center;
  text-align: center;
  align-content: center;
}
.icon{

    font-size: 30px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 30px;
    opacity: 0;
    animation: to_left 1s ease forwards 0.5s;
}
.icon a i{
    color: blue;
    padding: 9px;
    border: 2px solid #3B82F6;
    border-radius: 50%;
    justify-content: center !important;
    align-content: center;
    cursor: pointer;
    transition: .2s;
}
.sep{
    color: #007bff;
}
.icon i:hover{
    color: white;
    background: linear-gradient(to right, #1E3A8A, #3B82F6);
    box-shadow: 0 0 10px 0.2px #144dff ;
    text-align: center;
}
.bot-1{
    text-transform: capitalize;
    border: 2px solid #144dff ;
    background: linear-gradient(to right, #3B82F6, #1E3A8A);
    color: white;
    outline: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    text-transform: capitalize;
    width: 200px;
    padding: 10px;
    margin: 5px;
  
    background-color: transparent;
}
.bot-1:hover{
    color: blue;
    background: transparent;
    transform: scale(1.05); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.bot-2{
        text-transform: capitalize;
        border: 2px solid #144dff ;
        outline: none;
        border-radius: 8px;
        font-size: 1.3rem;
        font-weight: bold;
        transition: all 0.2s ease-in-out;
        text-transform: capitalize;
        width: 200px;
        padding: 10px;
        margin: 5px;
        background-color: transparent;
        color: blue;
}
.bot-2:hover{
    background: linear-gradient(to right, #3B82F6, #1E3A8A);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    color: white;
    transition: 0.3s;
}
:root {
    --primary-dark: #0F172A;
    --primary-accent: #3B82F6;
    --background-light: #F8FAFC;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --button-primary: #3B82F6;
    --button-hover: #2563EB;
    --card-bg: #FFFFFF;
    --border-light: #E2E8F0;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
  }
  .about-section {
    background-color: var(--background-light);
    padding: 5rem 0;
  }
  .section-header {
    position: relative;
    margin-bottom: 4rem;
  }
  .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.25rem;
  }
  .title-underline {
    position: relative;
    height: 4px;
    width: 130px;
    background-color: var(--primary-accent);
    margin: 0 auto;
    border-radius: 2px;
  }
  .title-underline::before,
  .title-underline::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background-color: var(--primary-accent);
  }
  .title-underline::before {
    left: -10px;
  }
  .title-underline::after {
    right: -10px;
  }
  .about-image-container {
    position: relative;
  }
  .about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  .about-image img {
    width: 100%;
    transition: transform 0.5s ease;
    position: relative;
    border-radius: 7px;
  }
  .about-image img:hover {
    transform: scale(1.05);
    transition: 0.3s;
  }
  .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
  }
  .years {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
  }
  .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
    line-height: 1.1;
  }
  .about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
  }
  .about-greeting {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
  }
  .about-greeting::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 205px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 2px;
  }
  .c-about{
    font-weight: bold;
  }
  .about-description p {
    color: var(--text-secondary);
    line-height: 1.8;
  }
  .highlight {
    color: var(--primary-accent);
    font-weight: 600;
  }
  .about-cta {
    margin-top: auto;
    padding-top: 2rem;
  }
  .btn {
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  .btn-primary {
    background-color: var(--button-primary);
    border-color: var(--button-primary);
    color: white;
  }
  .btn-primary:hover {
    background-color: var(--button-hover);
    border-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
  }
  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
  }
  .btn-outline:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: translateY(-2px);
  }
  .education-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.detalis{
    display: grid;
    place-items: center;
    grid-template-columns: repeat(3,auto);
    gap: 30px;
}
.detalii{
  display: flex;
  gap: 50px;
}
.detalii .card{
  width: 400px;
  background: white;
  border-radius: 10px;
  padding: 25px !important;
  height: auto !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.education-card:hover,.card:hover{
    transform: translateY(-5px);
}
.education-card h3 {
     color: #007bff;
     font-size: 1.5rem;
     font-weight: bold;
     text-transform: capitalize;
}
.education-card p{
      color: #666;
      font-size: 1rem;
      width: 100%;
}
.bot-3{
      display: inline-block;
      margin-top: 30px;
      padding: 12px 20px;
      border: 2px solid #007bff ;
      background: linear-gradient(to right, #3B82F6, #1E3A8A);
      color: white;
      text-decoration: none;
      border-radius: 5px;
      width: 50%;
      font-size: 1rem;
}
.bot-3:hover{
    background: transparent;
    color: #007bff;
    transition: 0.3s;
}
.edu{
  margin: 25px auto !important;
}
.skills-container{
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3,auto);
  gap: 50px 150px;
}
.skill{
  display: flex;
  align-items: center;
  width: 320px;
  gap: 15px;
}
.ski{
    border-radius: 50%;
    overflow: hidden;
    height: auto;
    align-content: center;
    width: 50px;
}
.icon-span{
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.icon-span span{
    font-size: large;
    font-weight: bold;
}
.progress{
  flex-grow: 1;
  height: 15px;
  width: 100% ;
  background-color: #565454;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 5px;
  color: var(--primary-accent);
  font-weight: 600;
  position: relative;

}
.progress-bar::after {
  content: attr(data-percentage) "%";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
}
.parent{
  margin: 2px auto;
  width: 80%;
  border-radius: 30px;
  padding: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: white;

}
.box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 30px;
}

.chid-1{
  flex-direction: column;
  padding: 20px;
}
.chid-1 form{
  width: 100%;
}
.chid-2{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100%;
  border-radius: 150px 30px 30px 100px;
  background: linear-gradient(to right, #3B82F6, #0072ff);
  transition: 4s;
}
.chid-2 h1{
  font-weight: bold;
  font-size: 2rem;
}

form input,form textarea{
  padding: 10px !important;
  margin: 5px auto;
  outline: none !important;
  border-top:  none !important;
  border-right:  none !important;
  border-left:  none !important;
  border-bottom: 2px #3B82F6 solid !important ;
  border-radius: 0px !important;
}

form textarea{
  border-radius: 8px !important;
  border: 2px solid #3B82F6 !important;

}

form input:focus{
  border-radius: 8px !important;
  border: 2px solid #3B82F6 !important;
  outline: none !important;
  outline-offset: none !important;

}
form div ::placeholder{
  color:#3B82F6 !important;
}

.text-center button{
  background: linear-gradient(to right, #3B82F6, #0072ff);
  border-radius: 8px;
}




.arrow{
    background: linear-gradient(to right, #3B82F6, #1E3A8A);
    color: white;
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
    display: none;
    text-align: center;
}

.arrow i{
    margin: auto;
    font-weight: bolder;
    font-size: 37px;
} 

::selection{
    background-color: skyblue;
    color: black;
}

@media (max-width: 992px) {
  
  body{
    overflow-x:  hidden;
  }


  .skills-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 5px auto;
  }
    #link {
        
        margin: 5px auto;
        width: 100%;
    }
    #link:hover{
        scale: 1;
    }

    .navbar-nav {
        width: 100%;
        text-align: center; 
    }
    .navbar-nav .nav-item,.nav-item .nav-link {
        width: 100%;
        margin: 3px auto;
    }

    .detali{
        flex-direction: column;
        margin: 50px auto;
        align-items: center;
    }
    .detalii{
      flex-direction: column;
      margin: 50px auto;
      align-items: center;
    }

    .detalis{
      place-items: center;
      grid-template-columns: repeat(1,auto);
      gap: 50px;
      margin: 25px;
  }


    .card{
      width: 100%;
      overflow-x: hidden;
    }
    .card h2{
        font-weight: bold;
        font-size: 1.5rem;
        text-transform: capitalize;
    }
    .card p{
        font-size: 1.2rem ;
        font-weight: 400;
        color: #64748B;

    }

    .fas{
        color: #144dff !important;
    }
    .head {
        display: flex;
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        padding: 48px;
      }
      
      .head img {
        max-width: 100%; 
        border-radius: 10px; 
        top: 8px;
      }
    .cont{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0 auto;
   
    }


    .about .no{
        display: none;
    }

    .about{
        width: 100%;
    }

    .botton{
        width: 100%;
        flex-direction: column;
                
    }
    .bot{
        width: 100%;
    }

    .bot .bot-1,.bot .bot-2,.about-cta .bot-1,.about-cta .bot-2 {
        margin: 5px 0;
        width: 100%;
        border-radius: 7px;
    }
    .bot-3{
      margin-top: 0;
      width: 70%;
    }
    .icon{
        line-height: 1.8;
        color: rgb(85, 83, 83);
         font-weight: bold;
         font-size: 1.6rem;
    }

    .about-content {
      padding-left: 0;
      margin-top: 3rem;
    }

    .about-section {
      padding: 4rem 0;
    }
    .section-title {
      font-size: 2.2rem;
    }
    .experience-badge {
      bottom: -15px;
      right: -15px;
      width: 90px;
      height: 90px;
    }
    .years {
      font-size: 1.5rem;
    }
    .btn {
      display: block;
      width: 100%;
      margin-bottom: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .skills-container .skills-grid{
      grid-template-columns: repeat(2, 1fr);
    }
  }

@keyframes to_bottom {
    0%{
        opacity: 0;
        transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes to_right {
    0%{
        opacity: 0;
        transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes to_left {
    0%{
        opacity: 0;
        transform: translateX(50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}  

/* @keyframes fillBar {
  from {
      width: 0;
  }
  to {
      width: ;
  }
} */