@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%; /* Prevents overflow */
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Blocks horizontal scroll */
}
:root{
    --text-color:#f5f5f5;
    --hover-color:#12f7ff;
    --bg-color:#250821;
    --secon-bg-color:#292e33;
    --big-font:2.5rem;
    --normal-font:2rem
    --h2-font:3rem;
    --neon-box-shadow:0 0 .5rem #12f7ff;
    --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);
    
   /* Add this at the top of your CSS */
html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Update the home section styles */
.home {
  min-height: 100vh;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  align-items: center;
  gap: 2rem;
  padding: 20px;
  box-sizing: border-box; /* Include padding in width calculation */
}

/* For larger screens */
@media (min-width: 768px) {
  .home {
    grid-template-columns: repeat(2, 1fr); /* Two columns on desktop */
    padding: 100px 10%;
  }
}

.home-content {
  max-width: 100%; /* Allow full width on mobile */
  padding: 0 15px; /* Add some padding */
  box-sizing: border-box;
}

.home-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%; /* Ensure it doesn't overflow */
}

.img-box {
  position: relative;
  width: 100%;
  max-width: 350px; /* Limit maximum size */
}

/* Ensure text wraps properly */
.home-content p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Update the menu for mobile */
@media (max-width: 768px) {
  .navlist {
    width: 100%;
    box-sizing: border-box;
  }
  
  .navlist a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
    
    ::-webkit-scrollbar{
        height: 0;
        width: .5rem;
    }

    ::-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);
}
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%;

}

header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--secon-bg-color);
    padding: 12px 10%;
}
.logo{
    font-size: 26px;
    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)
}





.logo img {
  height: 50px;           /* adjust as needed */
  max-height: 100%;       /* prevent overflow */
  display: block;         /* removes bottom space from inline images */
  margin: 0;              /* reset spacing */
  padding: 0;
}




#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;
}

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: 600px;
}
.home-content h1{
    font-size: var(--big-font);
    font-style: 700;
}
.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);
}

.home-content p{
    color: #bdbdbd;
    line-height: 1.6;
}

.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: .9rem;
    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: 5px;
    position: relative;overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}

.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: 8rem;
    display: flex;
    justify-content: space-between;
    width: 220px;
    height: 40px;
}

.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 #12f7ff;
    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;
}

.img-box{
    text-align: center;
}

.img-box img{
    width: 100%;
    max-width: 350px;
    height: auto;
}

.liquid-shape{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 10%;
}

.liquid-shape:nth-child(2){
    filter: blur(50px);
}

.img-box {
    position: relative;
    text-align: center;
}

.img-box img {
    width: 100%;
    max-width: 350px;
    height: auto; */
    /* Add a fade-out effect at the bottom */
    /* -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
} */








.home-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-box {
  position: relative;
  width: 500px;
  max-width: 100%;
}

.img-box .blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 0 20px #00f5ff);
  animation: blobPulse 6s ease-in-out infinite;
}

.img-box img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;

  /* ✅ Same mask as About Section */
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}





/* === ABOUT SECTION === */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4em; /* increased gap between image and text */
    padding: 4rem 2rem;
    background: var(--secon-bg-color);
    flex-wrap: wrap;
}

.about .image-about {
    position: relative;
    width: 400px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.about .image-about svg.blob {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: drop-shadow(0 0 20px #00f5ff);
    animation: blobPulse 6s ease-in-out infinite;
    top: 0;
    left: 0;
}

.about .image-about img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;

    /* Bottom fade */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

/* === INFO BOXES AROUND IMAGE === */
.about .info-about1,
.about .info-about2,
.about .info-about3 {
    background: var(--bg-color);
    font-size: 0.6rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--neon-box-shadow);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    z-index: 3;
    text-align: center;
    color: #fff;
    animation: morph 6s linear infinite;
}

.about .info-about1 {
    left: -10%; /* 🔄 slightly closer to the image */
    top: 38%;
}

.about .info-about2 {
    right: -10%;
    top: 5%;
}

.about .info-about3 {
    right: -8%;
    bottom: 5%;
}

/* === ABOUT TEXT === */
.about .about-content {
    max-width: 500px;
}

.about .about-content span {
    color: #fdfdfd;
    font-size: 0.8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about .about-content h2 {
    color: var(--hover-color);
    font-weight: 700;
    font-size: 2rem;
    padding-top: 5px;
}

.about .about-content h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.about .about-content p {
    color: #fdfdfd;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* === ANIMATIONS === */
@keyframes morph {
    0%, 100% {
        border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    }
    50% {
        border-radius: 34% 66% 30% 70% / 79% 21% 30% 70%;
    }
}

@keyframes blobPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}






















/* Services section */
.main-text{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}

.main-text h2{
    font-weight: 700;
    font-size: 2rem;
}

.main-text span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-services{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}

.section-services .service-box{
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: transform .4s;
    border-radius: 10px;
}

.service-btn{
    width: auto;
    justify-content: center;
}

.service-box:hover{
    transform: translateY(-.7rem)
}

.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 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
}


/* skills left section */
.skills{
    background: var(--secon-bg-color);
}

.skill-main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}

.skill-bar{
    margin-bottom: 2.3rem;
}

.skill-main h3{
    margin-bottom: 2rem;
    font-size: 2rem;
    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: 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: 62%;
    animation: css 3s;
}

.skill-bar .bar .javascript{
    width: 80%;
    animation: javascript 4s;
}

.skill-bar .bar .figma{
    width: 72%;
    animation: figma 5s;
}

/* skill right///////////// */
.professional{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.box{
    position: relative;
    margin: 10px 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); /* All points start as inactive */
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);
    box-shadow: none; /* Ensure no glow initially */
}

.circle .points.marked {
    animation: glow 0.04s linear forwards;
    animation-delay: calc(var(--i)*0.05s);
}

@keyframes glow {
    0% {
        background-color: var(--bg-color);
        box-shadow: none;
    }
    100% {
        background-color: var(--main-color);
        box-shadow: 0 0 10px var(--main-color);
    }
}












/* Add these styles to your existing portfolio section CSS */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
    position: relative; /* Add this */
    z-index: 1; /* Add this */
}

.port-box {
    position: relative;
    overflow: visible; /* Changed from hidden */
    min-height: 300px; /* Add this */
}

.port-image {
    position: relative;
    padding-top: 75%; /* Adjust based on your image aspect ratio */
    overflow: hidden;
}

.port-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Changed from .5 */
    display: block; /* Add this */
    transition: transform 0.2s ease;
}

/* Add this mobile-specific media query */
@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .port-box {
        margin-bottom: 1.5rem;
    }
    
    .port-image img {
        opacity: 1 !important;
    }
}





















/* portfolio section */

.fillter-buttons{
    margin: 2rem;
    text-align: center;
}

.fillter-buttons .button{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}

.fillter-buttons .button:hover{
    color: 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: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: 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);
}



/* pricing section css */
   

/* Pricing Section Specific Styles */
#pricing {
    background: #292e33; /* Changed from var(--bg-color) to table color */
    padding: 100px 10%;
}

#pricing .pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

#pricing .pricing-box {
    flex: 1 1 300px;
    max-width: 350px;
    background: #250821; /* Changed from var(--secon-bg-color) to body color */
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.4s;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

#pricing .pricing-box:hover {
    transform: translateY(-10px);
    border-color: #12f7ff;
    box-shadow: 0 0 .5rem #12f7ff;
}

#pricing .pricing-box.featured {
    position: relative;
    /* border: 1px solid #12f7ff; */
}

#pricing .pricing-box.featured::before {
    content: "Popular";
    position: absolute;
    top: -15px;
    right: 20px;
    background: #12f7ff;
    color: #250821;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
}

#pricing .pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#pricing .pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    /* color: #12f7ff; */
    color: var(--text-color);
}

#pricing .price {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#pricing .price .currency {
    font-size: 1.5rem;
    margin-top: 5px;
    margin-right: 5px;
}

#pricing .features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

#pricing .features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #bdbdbd;
}

#pricing .features i {
    margin-right: 10px;
    font-size: 1.2rem;
}

#pricing .features .bx-check {
    color: #12f7ff;
}

#pricing .features .bx-x {
    color: #ff4d4d;
}

#pricing .pricing-box .btn-box {
    margin-top: auto;
    text-align: center;
}

#pricing .main-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: #12f7ff;
}

#pricing .main-text h2 {
    font-weight: 700;
    font-size: 2rem;
}

#pricing .main-text span {
    color: #fdfdfd;
    font-size: 0.8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#pricing .btn-box {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 45px;
}

#pricing .btn-box a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
    height: 100%;
    background: #12f7ff;
    color: #250821;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .6s;
    box-shadow: 0 0 .5rem #12f7ff;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid #12f7ff;
}

#pricing a.btn:hover {
    color: #12f7ff;
}

#pricing a.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #250821;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

#pricing a.btn:hover::before {
    width: 100%;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    #pricing .pricing-container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }
    #pricing .pricing-box {
        flex: 0 1 350px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #pricing .pricing-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    #pricing .pricing-box.featured {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    #pricing .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    #pricing .pricing-box {
        width: 100%;
        max-width: 400px;
    }
}


/* Contact section css */
.contant{
    /* background: var(--secon-bg-color); */
    width: 100%;
}

.contant form{
    text-align: center;
    max-width: 50rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
}
  
.contant form input,
.contant form textarea{
    width: 100%;
    color: var(--text-color);
    background: var(--secon-bg-color);
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}

.contant form textarea{
    resize: none;
}

.formBtn{
    display: flex;
    justify-content: center;
    width: 100%;
}

.formBtn .btn{
    cursor: pointer;
    font-size: 1rem;
}

/* footer section */
footer{
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p{
    color: #bdbdbd;
}

footer a{
    display: flex;
    justify-content: center;
    color: var(--text-color);
    background: var(--hover-color);
    padding: .6rem;
    border-radius: 5px;
}

footer a i{
    font-size: 1rem;
    color: var(--secon-bg-color);
}















/* @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: 62%;
    }
}

@keyframes javascript{
    0%{
        width: 0%;
    }
    100%{
        width: 80%;
    }
}

@keyframes figma{
    0%{
        width: 0%;
    }
    100%{
        width: 72%;
    }
}

@keyframes glow{
    0%{
        background: var(--bg-color);
        box-shadow: none;
    }
    100%{
        background: var(--hover-color);
        box-shadow: var(--neon-box-shadow);
    }
}


@keyframes slideAnimation{
        0%{
       opacity: 0;
       transform: translateY(100px);
    }
    100%{
        opacity: 1;
       transform: translateY(0);
    }
}





/* Break points */
@media(max-width: 991px) {
    header,
    header.sticky{
        padding: 15px 5%;
    }
    footer{
        padding: 15px 5%;
    }
    section{
        padding: 50px 5%;
    }
    .navlist a{
        padding: 8px 15px;
    }
    :root{
    --big-font:2.2rem;
    --normal-font:1.8rem
    --h2-font:3rem;
    --neon-box-shadow:0 0 .8rem #12f7ff;
    }

    .home-content{
        margin-top: 5rem;
    }

    .social-icons{
        margin-top: 2rem;
    }
}



@media(max-width: 768px) {
    #menu-icon{
        display: block;
        transition: all .4s ease;
    }

    #menu-icon.bx-x{
        transform: rotate(-180deg);
    }
    .navlist{
        display: flex;
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        padding: 0 5%;
        transition: all .4s ease;
    }

    .navlist a{
        display: block;
        padding-bottom: 1rem;
        font-size: 1rem;
    }

    .navlist.open{
        top: 100%;
    }

    .home{
        grid-template-columns: 1fr;
    }
    .home-image{
        margin-bottom: 5rem;
    }

    .about{
        flex-direction: column-reverse;
    }

    .skill-main{
        grid-template-columns: 1fr;
    }

    .fillter-buttons{
        margin: 2.5rem 0;
    }
     footer p{
        font-size: .8rem;
    }
}

@media(max-width: 420px) {
    html{
        font-size: 80%;
    }
    footer p{
        font-size: .6rem;
    }
    .fillter-buttons .button{
        font-size: .8rem;
    }
    .image-about img{
        width: 300px;
    }
    .info-about1,.info-about2,.info-about3{
        display: none;
    }
    .image-about p{
        font-size: 1rem;
    }
}







/* ===== FIX FOR RIGHT-SIDE SPACE ===== */
body {
  position: relative; /* Ensures no hidden overflow */
}

/* Fix for SVG/Images */
.img-box, .img-box svg, .img-box img {
  max-width: 100%;
  display: block;
}

/* Fix for buttons (removes unwanted underlines) */
.btn, .btn-box a, .social-icons a {
  text-decoration: none !important;
}





/* ===== REMOVE NAVIGATION BULLETS & UNDERLINES ===== */
.navlist {
  list-style: none;    /* Removes bullet points */
  padding-left: 0;     /* Removes default left padding */
}

.navlist a {
  text-decoration: none; /* Removes link underlines */
  display: inline-block; /* Fixes spacing issues */
}

/* Optional: Remove underlines on hover */
.navlist a:hover {
  text-decoration: none !important;
}





/* Adjust info-about2 to stay right but not overflow */
.about .info-about2 {
  right: -4%;  /* Changed from -10% to -5% (more inward) */
  top: 5%;
}















/* Reset all animations initially */
.scroll-scale,
.scroll-bottom,
.scroll-top,
section {
  opacity: 0;
  transition: all 0.4s ease;
}

/* Different animation starting points */
.scroll-scale {
  transform: scale(0.9);
}
.scroll-bottom {
  transform: translateY(50px);
}
.scroll-top {
  transform: translateY(-50px);
}

/* Animation trigger class */
.show-items {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Smooth scrolling behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Accounts for fixed header */
  }
}


















/* 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: translateX(0);
}