 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root{
    --text-color:#f5f5f5;
    --hover-color:#12f7ff;
    --main-color:#00ffee;
    --bg-color:#250821;
    --secon-bg-color:#292e33;
    --big-font:2.5rem;
    --normal-font:2rem;
    --neon-box-shadow:0 0 .5rem #12f7ff;
    --h2-font:3rem;
    --font-neon-text-shadow:0 0  10px rgba(18,247,255,0.3),
    0 0  20px rgba(18,247,255,0.3),
    0 0  30px rgba(18,247,255,0.3),
    0 0  40px rgba(18,247,255,0.3),
    0 0  70px rgba(18,247,255,0.3),
    0 0  80px rgba(18,247,255,0.3),
    0 0  100px rgba(18,247,255,0.3),
    0 0  150px rgba(18,247,255,0.3), 
}

::-webkit-scrollbar{
    height: 0;
    width: .6rem;
}
::-webkit-scrollbar-track{
    background: var(--secon-bg-color);
}
::-webkit-scrollbar-thumb{
    background: var(--hover-color);
    border-radius: 5rem;
}

body{
    font-family: "Poppins",sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-top: 150px;
    
}

header{ 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
    transition: background 0.4s ease-in-out, padding 0.4s ease-in-out;
}

header.scrolled {
    background: #2f072f;
    padding: 10px 10%;
}

.logo{
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

span{
    color: var(--hover-color);
}

.navlist{
    display: flex;
}

.navlist a{
    display: inline-block;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    animation: slideAnimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

.navlist a:hover{
    color: var(--hover-color);
    text-shadow: 0 0  10px rgba(18,247,255,0.6),
    0 0  20px rgba(18,247,255,0.6),
    0 0  30px rgba(18,247,255,0.6),
    0 0  40px rgba(18,247,255,0.6),
    0 0  70px rgba(18,247,255,0.6),
    0 0  80px rgba(18,247,255,0.6),
    0 0  100px rgba(18,247,255,0.6),
    0 0  150px rgba(18,247,255,0.6);
}

.navlist a.active {
    color: var(--hover-color);
}

#menu-icon{
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display: none;
    transition: all .4s ease;
}

#menu-icon.bx-x {
    transform: rotate(-180deg);
}

section{
    padding: 100px 10%;
}

.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;             
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4rem; 
}

.home-content{
    max-width: 650px;

}


.home-content h1{
    font-size: var(--big-font);
    font-weight: 600;
}

.home-content p{
    color: #bdbdbd;
    line-height: 1.6;
}

.change-text{
    font-size: 1.5rem;
    font-weight: 600;
}

.change-text h3{
    display: inline-flex;
    margin: 0;
    vertical-align: top;
} 

.change-text h3 .word{
    position: absolute;
    display: flex;
    opacity: 0;
}

.change-text h3 .word .letter{
    transform-origin: center center 25px;

}

.change-text h3 .word .letter.out{
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6,0,0.7,0.2);
}

.change-text h3 .word .letter.in{
    transition: 0.38s ease;
}

.change-text h3 .word .letter.behind{
    transform: rotateX(-90deg);
}

.info-box{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin: 1rem 0 2rem;
}

.info-box h5{
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.info-box span{
    font-size: .8rem;
    color:#bdbdbd;
}

.btn-box{
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
}

.btn-box .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .6s;
    box-shadow: var(--neon-box-shadow);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);

}


a.btn:hover{
    color: var(--hover-color);
}


.btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
   
}

.btn:hover::before{
    width: 100%;

}

.btn:nth-child(2){
    background: var(--bg-color);
    color: var(--hover-color);
}

.btn:nth-child(2):hover{
    color: var(--bg-color);
}

.btn:nth-child(2)::before{
    background: var(--hover-color);
}

.social-icons{
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
    gap: 6px;
}

.social-icons a{
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: var(--bg-color); 
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: .6s;
    box-shadow: 0 0 0.3rem #13f7ff;
    border-radius: 5px; 
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i{
    font-size: 1.5rem;
}

.social-icons a:hover{
    color: var(--bg-color);
 }

.social-icons a::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: .6s;
    z-index: -1;
}

.social-icons a:hover::before{
    width: 100%;

}

.home-image{
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.img-box{
    text-align: center;
} 

.img-box img{
    width: 100%;
    max-width: 1500px;
    height: auto;
    object-fit: cover;
}

/*About Section CSS -------------------------------------------------------------------------*/
.about{
    display: flex;
    justify-self: center;
    align-items: center;
    grid-gap: 2em;
    background: var(--secon-bg-color) ;
}

.about .img-about{
    text-align: center;
    position: relative;
}

.about .img-about img{
    max-width: 500px;
    height: auto;
}

.about-content span{
    color: #fdfdfd;
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;

}

.about-content h2{
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--normal-font);
}

.about-content h3{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .2rem;
}

.about-content p{
    color: #fdfdfd;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.info-about1,
.info-about2,
.info-about3{
    background: var(--bg-color);
    font-size: .5rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    display: block;
    box-shadow: var(--neon-box-shadow);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;
}

.info-about1{
    left: 15%;
    top: 40%;

}

.info-about2{
    left: 65%;
    top: 18%;
}

.info-about3{
    left: 60%;
    top: 79%;
}

.img-about span{
    color: var(--hover-color);
    font-size: 1.5rem;
    font-weight: 700;
}


/*-Services Section------------------------------------------------------------------------*/
.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--hover-color);
}

.main-text h2{
    font-weight: 700;
    font-size: var(--normal-font);
}

.main-text span{
    color: #fdfdfd;
    font-size: .9rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-services {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.section-services .service-box {
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: transform .4s ease-in-out, border .4s ease-in-out, box-shadow .4s ease-in-out;
    border-radius: 20px;
    border: 3px solid transparent; 
    min-height: 540px;
    max-width: 420px;
    margin: 0 auto;
    
}

.service-btn{
    width: auto;
    justify-content: center;
    text-align: center; 
}

.service-box {
    transition: all 0.4s ease;
}


.service-box:hover {
    transform: translateY(-.7rem) scale(1.03); 
    border: 3px solid var(--main-color);
    box-shadow: 0 0 50px var(--main-color); 
}

.service-icon{
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);

}

.service-box h3{
    margin-top: 10px;
    font-size: 1.5rem;
}

.service-box p{
    margin: .5rem 0 2rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
    max-width: 95%;
    text-align: center;
}

#star{
    color : var(--hover-color);
    font-size: 1.5rem;
}


/*--Skills Section------------------------------------------------------------------------------*/

.skills{
    background: var(--secon-bg-color);
}

.skill-main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row: 30px;
    grid-column-gap: 50px;
}

.skill-bar{
    margin-bottom: 1.8rem;
}

.skill-main h3{
    margin-bottom: 2rem;
    font-size: var(--normal-font);
    text-align: center;
}

.skill-left .skill-bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    
}

.skill-left .skill-bar .bar{
    width: 100%;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative; 
 

}

.skill-bar .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shadow);
}

.skill-bar .bar .html{
    width: 90%;
    animation: html 2s;
}

.skill-bar .bar .css {
     width: 72%; 
     animation: css 3s;
    }
.skill-bar .bar .javascript { 
    width: 80%;
    animation: javascript 4s; 
}
.skill-bar .bar .mongodb { 
    width: 68%; 
    animation: mongodb 5s;

}
.skill-bar .bar .react { 
    width: 75%; 
    animation: react 6s;
}
.skill-bar .bar .python { 
    width: 84%;
    animation: python 7s;
 }
.skill-bar .bar .operating-system {
  width: 65%;
  animation: operating-system 8s;
}

.skill-bar .bar .linux { 
    width: 60%;
    animation: linux 9s;
 }


/*--skill right --- */
.porfessional{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box{
    position: relative;
    margin: 25px 0;
    flex: 1 1 15rem;
}

.box .text{
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

.box .text big{
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50% , -50%);
}

.box .text small{
    display: block;
    font-weight: 600;
}

.circle{
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.circle .points{
    width: 2px;
    height: 10px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);
   
}

.points.marked{
    animation: glow 0.08s linear forwards;
    animation-delay: calc(var(--i) * 0.05s);

}

/*---Education-----------------------------------------------------------------------------------------------*/
.timeline-items {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    border-radius: 3px;
    background-color: var(--main-color);
    left: 50%;                
    transform: translateX(-50%);   /* center the stick */
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

/* --- Dot --- */
.timeline-dot {
    height: 22px;
    width: 22px;
    background: var(--bg-color);
    border: 3px solid var(--main-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;                     
    top: 10px;
    transform: translate(-50%, 0);
    box-shadow: 0 0 10px var(--main-color),
                0 0 20px var(--main-color),
                inset 0 0 8px var(--main-color);
    transition: 0.4s ease-in-out;
    z-index: 1;
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, 0) scale(1.3);
    background: var(--main-color);
    box-shadow: 0 0 20px var(--hover-color),
                0 0 40px var(--hover-color),
                0 0 60px var(--hover-color);
}

/* --- Date --- */
.timeline-date {
    display: inline-block;
    margin: 0 0 15px;
    padding-top: 2px;                 
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hover-color);
    transition: color 0.3s ease-in-out;
}

.timeline-item:hover .timeline-date {
    color: var(--main-color);
    text-shadow: 0 0 8px var(--hover-color),
                 0 0 15px var(--hover-color);
}

/* --- Content --- */
.timeline-content {
    background-color: var(--secon-bg-color);
    padding: 30px 50px;
    border-radius: 4rem;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--hover-color);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 600;
}

.timeline-content p {
    color: #bdbdbd;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}


/*----Portfolio Section----------------------------------------------------------------------------------*/
.portfolio{
    background: var(--secon-bg-color);
}

.fillter-buttons{
    margin: 2rem auto;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fillter-buttons .btn{
    background: transparent;
    border: 2px solid var(--hover-color);
    color: var(--text-color);
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: pointer;
    border-radius: 30px;
    position: relative;
    overflow: hidden;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;
}

.fillter-buttons .btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hover-color);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.fillter-buttons .btn:hover::before{
    opacity: 1;
}


.fillter-buttons .btn:hover{
    color: var(--secon-bg-color);
    background: var(--hover-color);
    box-shadow: 0 0 12px var(--hover-color),
                0 0 30px var(--hover-color);
    transform: translateY(-3px);
}

.fillter-buttons .btn.active{
    background: var(--hover-color);
    color: var(--secon-bg-color);
    box-shadow:
        0 0 15px var(--hover-color),
        0 0 35px var(--hover-color);
}

.fillter-buttons .btn:active{
    transform: scale(0.92);
    box-shadow:
        0 0 8px var(--hover-color);
}
.portfolio-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(270px , 1fr));
    gap: 2rem;
}

.port-box{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #250821;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: var(var(--neon-box-shadow));

}

.port-image{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.port-image img{
    width: 100%;
    opacity: .5s;
    height: 100%;
    transition: .5s;

}

.port-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: linear-gradient(rgba(0,0,0,.2),#12f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0 2rem;
}
.port-box:hover .port-content{
    opacity: 1;
}
.port-box:hover .port-image img{
    transform: scale(1.1);
}

.port-content h3{
    font-size: 1.5rem;
    font-weight: 600;
}

.port-content p{
    font-size: .8rem;
    margin: 5px 0 15px 0;
}

.port-content a{
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}

.port-content a i{
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}

/*--Contact Section------------------------------------------------------------------------*/
.contact {
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
}

.contact-container .contact-box:first-child {
    align-self: center;
}

.contact-box h2 {
    font-size: 2.5rem;
}

.contact-box p {
    font-size: 1rem;
    
}

.contact-box .desc {
    margin: 1.5rem 0 2.5rem;
}

.contact-box .contact-detail {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.contact-detail i {
    display: inline-flex;
    background: var(--secon-bg-color);
    color: var(--hover-color);
    font-size: 2rem;
    padding: 0.8rem;
    border-radius: 0.6rem;
    margin-right: 1rem;
}

.contact-detail .detail p:first-child {
    color: var(--hover-color);
    font-weight: 600;
}

.contact-box form {
    background: var(--secon-bg-color);
    padding: 2.5rem 3.5rem 3.5rem;
    border-radius: 1rem;
    text-align: center;
}

.contact-box .heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.contact-box .field-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}


.contact-box .field-box input,
.contact-box .field-box textarea {
    padding: 1rem;
    background: var(--bg-color);
    border: .15rem solid var(--bg-color);
    border-radius: .6rem;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}


.contact-box .field-box input::placeholder,
.contact-box .field-box textarea::placeholder {
    color: #aaa;
    transition: color 0.3s ease;
}


.contact-box .field-box input:hover,
.contact-box .field-box textarea:hover {
    border-color: var(--hover-color);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}


.contact-box .field-box input:focus,
.contact-box .field-box textarea:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
    outline: none;
}

.contact-box .field-box textarea {
    grid-column: 1 / -1;
    height: 10rem;
    resize: none;
}


.contact-box .field-box input:focus::placeholder,
.contact-box .field-box textarea:focus::placeholder {
    color: transparent;
}

.formBtn {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.formBtn .btn {
    cursor: pointer;
    font-size: 1rem;
   
}
.arrow {
    display: flex;
    justify-content: center;   
    align-items: center;
    margin-top: 2rem; 
    margin-bottom: 1rem; 
    /* margin-right: 11rem;      */
}

.arrow a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--hover-color);
    color: var(--bg-color);    
    font-size: 1.8rem;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;       
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 8px rgba(18, 247, 255, 0.5);
}

.arrow a:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(18, 247, 255, 0.8),
                0 0 25px rgba(18, 247, 255, 0.6);
}

/*-Footer Section-------------------------------------------------------------------------------*/
.footer {
    padding: 1.5rem 10%;
    background-color: var(--secon-bg-color);
    text-align: center;
}


.social {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; 
}

.social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    box-shadow: 0 0 0.3rem #13f7ff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    font-size: 1.4rem;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.social a::before {
    content: "";
    position: absolute;
    inset: 0; 
    width: 0;
    height: 100%;
    background: var(--hover-color);
    z-index: -1;
    transition: width 0.4s ease;
}

.social a:hover::before {
    width: 100%;
}

.social a:hover {
    color: var(--bg-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(18, 247, 255, 0.7);
}


.social a:focus {
    outline: 2px solid var(--hover-color);
    outline-offset: 4px;
}


.footer .copyright {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    opacity: 0.85;
}


/* parallax----------------------------------------------------------------------------*/
.scroll-scale {
    opacity: 0;
    transform: scale(.9);
    transition: all 2s;
}

.scroll-bottom {
    opacity: 0;
    transform: translateY(300px);
    transition: 3s;
}

.scroll-top {
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;
}

.show-items {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}














/*Keyframes ----------------------------------------------------------------*/

@keyframes morph{
    0%,
    100%{
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30%{
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    60%{
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    80%{
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;;
    }
}


@keyframes html{
    0%{
        width: 0%
    }
    100%{
        width: 90%;
    }
}

@keyframes css{
    0%{
        width: 0%
    }
    100%{
        width: 72%;
    }
}

@keyframes javascript{
    0%{
        width: 0%
    }
    100%{
        width: 80%;
    }
}

@keyframes mongodb{
    0%{
        width: 0%
    }
    100%{
        width: 68%;
    }
}

@keyframes react{
    0%{
        width: 0%
    }
    100%{
        width: 75%;
    }
}

@keyframes python{
    0%{
        width: 0%
    }
    100%{
        width: 84%;
    }
}

@keyframes operating-system {
  from { width: 0%; }
  to { width: 65%; }
}

@keyframes linux{
    0%{
        width: 0%
    }
    100%{
        width: 60%;
    }
}

@keyframes glow{
    0%{
        background: var(--bg-color);
        box-shadow: none;
    }
    100%{
        background: var(--hover-color);
        box-shadow: var(--neon-box-shadow);

    }

}

@media (max-width: 600px) {
    .footer {
        padding: 1rem 5%;
    }
    .social a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

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


@keyframes mobilePop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Break Points------------------------------------------------------------------------------- */
@media(max-width:991px) {

    .container {
        max-width: 900px; 
        margin: 0 auto;
        padding: 0 15px;
    }

    header,
    header.sticky,
    footer,
    section {
        width: 100%;

    }
    header,
    header.sticky {
        padding: 15px 0;
    }

    footer {
        padding: 15px 0;
    }

    section {
        padding: 50px 0;
    }

    .navlist a {
        padding: 8px 15px;
    }

    :root {
        --big-font: 2.2rem;
        --normal-font: 1.8rem;
        --neon-box-shadow: 0 0 .8rem #12f7ff;
        --h2-font: 3rem;
    }

    .home-content{
        margin-top: 5rem;
    }
    .social-icons {
        margin-top: 2rem;
    }

    .section-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .section-services .service-box {
        max-width: 100%;
        min-height: auto;
        padding: 2rem 1.5rem;
    }

}

@media (max-width: 768px) {

    /* Menu */
    #menu-icon {
        display: block;
        transition: all .4s ease;
    }

    #menu-icon.bx-x {
        transform: rotate(-180deg);
    }

    /* Sections */
    section {
        padding: 50px 20px;
    }

    .home,
    .about,
    .skills,
    .portfolio,
    .contact {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Home */
    .home {
        grid-template-columns: 1fr;
    }

    .home-image {
        margin-bottom: 5rem;
    }

    /* About */
    .about {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .img-about img {
        max-width: 360px;
        width: 100%;
    }

    .img-about.scroll-scale {
        transform: scale(1);
        opacity: 1;
        transition: none;
    }

    .info-about1 { left: 10%; top: 55%; }
    .info-about2 { left: 60%; top: 12%; }
    .info-about3 { left: 55%; top: 82%; }

    /* Skills */
    .skill-main {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
        grid-gap: 30px;
    }

    .porfessional {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
        justify-items: center;
        margin-top: 1rem;
    }

    .skill-left .skill-bar .info {
        padding: 0;
    }

    .box {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Timeline */
    .timeline-items {
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-items::before {
        left: 30px;
        transform: none;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: calc(30px + 30px);
        padding-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 33px;
        transform: translate(-50%, 0);
    }

    .timeline-item:hover .timeline-dot {
        transform: translate(-50%, 0) scale(1.3);
    }

    .timeline-content {
        padding: 15px 20px;
    }

    /* Navbar */
    .navlist {
        display: flex;
        position: absolute;
        top: -1000px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #2f072f;
        text-align: right;
        padding: 10px 5%;
        transition: all .45s ease;
    }

    .navlist a {
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;
    }

    .navlist.open {
        top: 100%;
    }

    /* Services */
    #services {
        padding: 60px 0;
    }

    .section-services {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.2rem;
        padding: 0 22px;
        justify-items: center;
    }

    .section-services .service-box {
        width: 100%;
        max-width: 390px;
        padding: 2.2rem 1.6rem 2.5rem;
        border-radius: 22px;
        background: var(--secon-bg-color);
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 1.2rem;
        font-size: 2.8rem;
        padding: 1.7rem;
    }

    .service-box h3 {
        font-size: 1.45rem;
        margin-bottom: 0.6rem;
    }

    .rating {
        display: flex;
        justify-content: center;
        gap: 4px;
        margin-bottom: 1rem;
    }

    #star {
        font-size: 1.3rem;
    }

    .service-box p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 0 auto 1.6rem;
        max-width: 95%;
    }

    .service-btn {
        display: flex;
        justify-content: center;
    }

    .service-btn .btn {
        padding: 10px 26px;
        border-radius: 30px;
        font-size: 0.9rem;
    }

    .service-box:hover {
        box-shadow: 0 0 35px var(--main-color);
        transform: translateY(-6px);
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-box form {
        padding: 2rem 1.5rem 2.5rem;
    }

    /* Footer */
    footer p {
        font-size: 0.8rem;
        text-align: center;
    }

    /* Misc */
    .main-text {
        padding-left: 15px;
        padding-right: 15px;
    }

    .fillter-buttons {
        margin: 2.5rem 0;
    }
}


@media(max-width: 420px) {
    
  .about {
    flex-direction: column;
    gap: 2rem;
    padding: 40px 15px;
  }

  /* IMAGE CENTER */
  .about .img-about {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .about .img-about img {
    max-width: 360px;
    height: auto;
  }

  /* INFO BLOBS – SAME COLOR + MORPH STYLE */
  .info-about1,
  .info-about2,
  .info-about3 {
    width: 65px;
    height: 65px;
    padding: 6px;
    font-size: 0.45rem;
    background: var(--bg-color);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    box-shadow: var(--neon-box-shadow);
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: morph 6s linear infinite;
    z-index: 10;
  }

  /* POSITIONS (MOBILE SAFE) */
  .info-about1 {
    top: 55%;
    left: 5%;
  }

  .info-about2 {
    top: 8%;
    right: 6%;
  }

  .info-about3 {
    bottom: 6%;
    right: 12%;
  }

  /* TEXT INSIDE BLOBS */
  .img-about span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hover-color);
  }

  .img-about p {
    font-size: 0.42rem;
    text-align: center;
    line-height: 1.2;
    color: #fdfdfd;
  }

  /* ABOUT CONTENT TEXT */
  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content h3 {
    font-size: 1.2rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }
    /* ================= SKILLS ================= */

    .porfessional {
        grid-template-columns: 1fr 1fr;
        gap: 25px 0;
    }

    .box {
        max-width: 150px;
        margin: 0 auto;
    }

    .circle {
        height: 100px;
    }

    .box .text big {
        font-size: 1.5rem;
    }

    .box .text small {
        font-size: 1rem;
    }

    /* ================= TIMELINE ================= */

    .timeline-items::before {
        left: 20px;
    }

    .timeline-dot {
        left: 23px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 40px;
        padding-right: 10px;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* ================= PORTFOLIO ================= */

    .fillter-buttons .button {
        font-size: .9rem;
        margin: 5px 10px;
        display: inline-block;
    }

    .portfolio-gallery {
        gap: 1.5rem;
    }

    /* ================= CONTACT ================= */

    .contact-box .field-box {
        grid-template-columns: 1fr;
    }

    .contact-box input,
    .contact-box textarea {
        padding: 0.8rem;
    }

    /* ================= FOOTER ================= */

    .footer {
        padding: 1rem 15px;
    }

    .footer .copyright {
        font-size: 0.7rem;
    }

    /* ================= SERVICES ================= */

    #services {
        padding: 40px 16px;
    }

    .section-services {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 8px;
        justify-items: center;
    }

    .service-box {
        width: 100%;
        max-width: 360px;
        padding: 26px 18px 30px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }

    .service-icon {
        font-size: 2.6rem;
        padding: 1.6rem;
        margin-bottom: 14px;
    }

    .service-box h3 {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }

    .service-box p {
        font-size: 0.92rem;
        line-height: 1.7;
    }
}


