*{
    margin: 0px;
    padding: 0%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: 'Foldit', cursive;
    font-family: 'Konkhmer Sleokchher', cursive;
    font-family: 'Mooli', sans-serif;
    overflow-x: hidden;
}

body{
    background-color: #000000;
    color: #ffffff;
}
html {
  scrollbar-gutter: stable both-edges; /* prevents left/right layout shift */
}
html, body {
  overflow-x: hidden; /* move from * to just the root */
  scroll-behavior: smooth;
}

::-webkit-scrollbar{
      height: 0px;
      width: 5px;
      scroll-behavior: smooth;
     
}
::-webkit-scrollbar-track{
    background:rgb(40, 39, 39);
    box-shadow: 0 0 2px cyan,
    0 0 6px cyan,0 0 0px cyan;
}
::-webkit-scrollbar-thumb{
    background-color:rgb(14, 159, 169);
    border-radius: 20px;
}

#menu{
    color: white;
    cursor: pointer;
    font-size: 3rem;
    display: none;
}
#header{
    width: 100%;
    height: 20%;
    background-size: cover;
    background-position: center;
}
#container{
    padding: 20px 5%;
   
}
#logo{
    width: 130px;
    opacity: 0;
    margin-left: 55px;
    animation: slideright 1s ease forwards ; 
    animation-delay: 0.5s;
}
nav{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap;
    
}
ul li{
    list-style: none;
    text-decoration: none;
    display: inline-flex;
    margin: 10px 20px;
    justify-content: space-between;  
    animation: slideTop 1s ease forwards ; 
   animation-delay: 0.5s;
}
ul li a{
    font-weight: 900;
    text-decoration: none;
    color:#08bfdb;
    font-size: 20px;
   position: relative;
   transition: all 0.1s ease-in-out;
}
ul li a:hover{
    color: #28ceb5;
    transform: translate(0px ,-3px);
    
}
 
.head-text{
    padding: 0% 10%;
   
    display: flex;
    width: 100%;
    height: 80vh;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    background: url(./Assets//HomePage.png)  no-repeat;
    background-size: cover;
    background-position: center;
    background-size:600px 500px;
    background-position-x:80%;
    background-position-y:0px;
    overflow-y: hidden;

}
.head-text h1{
   opacity: 0;
   animation: slideLeft 1s ease forwards ; 
   animation-delay: 1s;
    
}

#Text{
    margin: 1px 50px;
    width: 50%;
    height: 100vh;
    z-index: 999;
}
#Linkes{
    border: 3px solid red;   
}
.li1{
    width: 9vw;
    height: 30px;
    border: 2px solid red;
    border-radius: 50%;
    color: #18aaa5;
}
#linkes{
    height: 90px;
    width: 400px;
}
#linkes a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 35px;
    height: 35px; */
    border: 2px solid rgb(39, 138, 177) ;
    border-radius: 10px;
    background: transparent;
    color: #278ab1;
    font-size: 30px;
    margin: 8px;
    margin-top: 23px;
    margin-left: 30px;
    text-decoration: none;
    scroll-behavior: smooth;
    overflow: hidden;
    animation: slideLeft 1s ease forwards ; 
    animation-delay: 0s;
    box-shadow: 0 0 2px cyan,
    0 0 6px cyan,0 0 0px cyan;
}
.gradient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Large shadow from top center - Purple gradient */
.top-shadow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(168, 85, 247, 0.4) 0%, 
        rgba(147, 51, 234, 0.3) 20%,
        rgba(126, 34, 206, 0.2) 40%,
        rgba(107, 33, 168, 0.1) 60%,
        transparent 80%
    );
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

/* Animated floating blobs */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: 20%;
    left: 10%;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.3), 
        rgba(147, 51, 234, 0.2)
    );
    box-shadow: 
        0 0 100px rgba(168, 85, 247, 0.6),
        0 0 200px rgba(147, 51, 234, 0.4),
        0 0 300px rgba(126, 34, 206, 0.2);
    animation-delay: 0s;
}

.blob-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    right: 15%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3), 
        rgba(37, 99, 235, 0.2)
    );
    box-shadow: 
        0 0 100px rgba(59, 130, 246, 0.6),
        0 0 200px rgba(37, 99, 235, 0.4),
        0 0 300px rgba(29, 78, 216, 0.2);
    animation-delay: 2s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 20%;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.3), 
        rgba(5, 150, 105, 0.2)
    );
    box-shadow: 
        0 0 100px rgba(16, 185, 129, 0.6),
        0 0 200px rgba(5, 150, 105, 0.4),
        0 0 300px rgba(4, 120, 87, 0.2);
    animation-delay: 4s;
}

/* Mouse follower blob */
.mouse-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.25), 
        rgba(59, 130, 246, 0.2),
        rgba(16, 185, 129, 0.15)
    );
    filter: blur(90px);
    mix-blend-mode: screen;
    pointer-events: none;
    transition: transform 0.3s ease-out;
    box-shadow: 
        0 0 150px rgba(168, 85, 247, 0.5),
        0 0 250px rgba(59, 130, 246, 0.3),
        0 0 350px rgba(16, 185, 129, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Ensure content is above the effects */
#header, #Home, section {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-blob {
        width: 300px !important;
        height: 300px !important;
    }
    .mouse-blob {
        width: 400px;
        height: 400px;
    }
    .top-shadow {
        width: 500px;
        height: 500px;
    }
    .head-text{
    background:none;
    }
}


@media screen and (max-width: 1000px) {
    .nav{
        overflow-y: hidden;
    }
    #linkes a{
        margin: 30px 0 0 20px;
    }

    #header{
        height: 320px;
        overflow-y: hidden;
    }
    #container{
        padding: 0 10px;
    }
    #logo{
        margin: -10px;
    }
    #menu{
        display: block;
        padding-left: 80px;
        font-size: 50px;
    }
     ul{
        display: flex;
        flex-direction: column;
        opacity: 0;
        margin-top: 274px;
        right: 0px;
        z-index: 99;
        position: absolute;
   }
     nav ul li a{
        color:#08bfdb;
        font-size: 20px;
        top: 100%;
        padding: 0rem 4%;
        display: flex;
        flex-direction: column;
     }
    ul li a{
        display: inline;
        font-size: 1rem;
        
    }
    #Home{
        margin-top: -140px;
        overflow-y: hidden !important;
    }
    .active {
        opacity: 1;
    }
 
    
}
#linkes a:hover{
   color: white;
   background-color:#147f89 ;
   box-shadow: 0 0 5px cyan,
   0 0 5px cyan,0 0 0px cyan,
   0 0 0px cyan,0 0 20px cyan;
}
.divbtn1{
    display: flex;
    width: 500px;
    height:200px;
    z-index: 99;
    margin-top: -90px;
    
}
#btn1{
    width: 150px;
    height: 40px;
    font-size: 20px;
    border: 2px solid black;
    border-radius: 10px;
    background: #278ab1;
    margin: 100px 0 0 30px;
    animation: slideright 3s ease forwards ; 
    animation-delay: 0s;
    box-shadow: 0 0 5px cyan,
    0 0 2px cyan,0 0 10px cyan; 
     
}
.btn2{
    width: 150px;
    height: 40px;
    font-size: 20px;
    border: 2px solid black;
    border-radius: 10px;
    background: #278ab1;
    margin: 100px 0 0 30px;
    animation: slideLeft 3s ease forwards ; 
    animation-delay: 0s;
    box-shadow: 0 0 5px cyan,
    0 0 2px cyan,0 0 10px cyan;    
}
#btn1:hover{
    color: white;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 10px cyan,
    0 0 10px cyan,0 0 30px cyan;
}
.btn2:hover{
    color: white;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 10px cyan,
    0 0 10px cyan,0 0 30px cyan;
}
/* Second Section */


#secContainter{
    
    margin: 50px 0px 0px 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100vw;
    height: auto;
    padding: 10% 2%;
    overflow-y: hidden;
}
#img2{
    border: #000;
    border-radius: 5%;
    height: unset;
    width: 30%;   
    box-shadow: 0 0 10px #1ca3bb;
    animation: slideTop 6s ease forwards ; 
    animation-delay: 0s; 
}

#Parabout{
    padding-left: 30px;
    width: 50%;
    font-size: 20px;
    
}

/* skill section  **********************************/
/* */
#Skill{
    height: 100%;
    overflow-y: hidden;
}
.sk{
    width: 100%;
    display: flex;
    padding: 0% 10%;
}

.container1{
    width: 600px;
    height: 100%;
    padding:  90px;
    margin-left: 10px;
    font-size:23px ;
    overflow-y: hidden;
} 
.heading1{
    text-align: center;
    text-underline-offset: 10px;
    margin-bottom:30px;
    text-decoration-thickness: 5px;
}
 .skill-bar{
    margin-bottom: 1rem;
 }
 .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    font-size: 20px;
 }
 .bar{
    width: 100%;
    height: 10px;
    background-color: #111919;
    border-radius: 25px;
    margin-top: 5px;
    position: relative;
 }
 .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #08bfdb;
    border-radius: 25px;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 20px cyan,
    0 0 100px cyan,0 0 20px cyan;
 }
 .bar .html{
    width: 80%;
    animation: html 10s;
 }
 .bar .javascript{
    width: 70%;
    animation: jasc 11s;

}
 .bar .react{
    width: 50%;
    animation: react 13s;
 }
 .bar .node{
    width: 65%;
    animation: node 12s;
 }
 .bar .java{
    width: 70%;
    animation: jasc 11s;
 }

 .skillss{
    width: 600px;
    height: 100%;
    padding:  90px;
    margin-left: 100px;
    font-size:23px ;
    overflow-y: hidden;
} 
.heading2{
    text-align: center;
    text-underline-offset: 10px;
    margin-bottom:30px;
    text-decoration-thickness: 5px;
}
.profe{
display: grid;
grid-template-columns: 1fr 1fr;
}
.box{
    position: relative;
    margin: 10px 0px;
    flex: 1 1 15rem;
}
.text{
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
}
.text big{
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50% ,-50%);
}
small{
    display: block;
    font-weight: 900;
}

.circle{
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.circle .points{
    width: 5px;
    height: 10px;
    background-color: #000000;
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);
}
.points.marked{
    animation: glow 0.4s linear forwards;
   animation-delay: calc(var(--i)*0.3s);
}

/* Floating contact heading */
.myskillHeading {
  display: flex;              
  justify-content: center;
  animation: floatY 1s ease-in-out infinite alternate; /* smooth up/down loop */
  text-shadow: 0 1px 0 #0a0a0a, 0 0 10px rgba(0,255,255,0.35); /* subtle glow */
  margin-bottom: 3%;
  font-size: 75px;
}

/* Keyframes: move a few pixels up and down */
@keyframes floatY {                      /* define intermediate steps */
  0%   { transform: translateY(-6px); }
  50%  { transform: translateY(4px); }
  100% { transform: translateY(-6px); }
}

/* Respect users that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .myskillHeading { animation: none; }   /* stop continuous movement */
}


@media screen and (max-width: 570px) {
#Skill{
    margin-top: 15px;
    height: 150vh;
}
    .sk{
    display: flex;
    height: 140vh;
    flex-flow: column;
    
  }
    
    .container1{
        width: 90%;
        height: 100%;
        padding:  90px 0px 0px 0px;
        margin-left: 10px;
        font-size:15px ;
        
    }  
    .info{
        font-size: 15px;
    }
    
 .skillss{
    width: 90%;
    height: 100%;
    padding:  0px 0px 0px 0px;
    margin-left: 10px;
    font-size:15px ;
    display: inline;
    
} 
}
/* My project sectiion */
/* My project section */
#project{
  margin: 50px 0 50px 0;
}

/* Use Grid: 3 columns desktop -> 2 -> 1 */
#mainProject{
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr)); /* 3 cards in first row */
  gap: 28px;
  padding: 60px 5% 40px 5%;
  width: 100%; /* was 100vw */
  justify-items: center; /* center cards in their tracks */
  align-items: stretch;  /* equal card heights per row */
}

/* Uniform card sizing */
.eachproject{
  width: 100%;
  max-width: 320px;              /* consistent card width */
  min-height: 420px;             /* consistent card height */
  border: 2px solid cyan;
  border-radius: 20px;
  background: transparent;
  display: flex;                 /* allow inner flex to fill height */
  transition: transform .2s ease, box-shadow .25s ease;
}

/* Card content fills card */
.projectss{
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

/* Consistent thumbnail sizing */
.imgProject{

  width: 90%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid white;
}

/* Description block height for alignment */
.projectdiscription{
  margin-top: 16px;
  text-align: center;
  line-height: 1.4;
  font-size: 14.5px;
  min-height: 120px; /* keeps buttons aligned across cards */
}

/* Buttons */
.pbtn{
  width: 160px;
  height: 40px;
  font-size: 18px;
  font-weight: 800;
  color: black;
  border: 2px solid black;
  border-radius: 10px;
  margin-top: 16px;
  background: #278ab1;
  box-shadow: 0 0 5px cyan, 0 0 2px cyan, 0 0 10px cyan;
}

/* Cyan hover shadow and lift */
.eachproject:hover{
  transform: translateY(-6px);
  box-shadow: 0 0 10px cyan, 0 0 5px rgba(0,255,255,0.6), 0 0 35px rgba(0,255,255,0.35);
}

/* Responsive rows: 2 columns medium, 1 column small */
@media (max-width: 1200px){
  #mainProject{ grid-template-columns: repeat(2, minmax(280px, 1fr)); }
}
@media (max-width: 600px){
  #mainProject{ grid-template-columns: 1fr; }
  .eachproject{ max-width: 96%; min-height: 400px; }
}


@media screen and (max-width: 570px) {
   
    .mainProject{
                 height: 100%;
               }
          

}

/* Myeducation section ************************/
#edu-row{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 78vh;
    justify-content: space-around;
    margin: 50px 0px 0 0px;
    padding-left: 40px;
    align-items: center;
}
.year{
    
    display: flex;
  justify-content: space-between;
  padding: 0px 40px 10px 0;
  font-size: 29px;
}
.year p{
    font-size: 20px;
  padding-top: 7px;
}
.content{
    padding: 9px;
  border: 2px solid aqua;
  
  border-radius: 9px;
}
.edu-content{
    width: 600px;
    box-shadow: 0px 0px 10px  #0ef;
   
}
#spanedit{
    width: 300px;
  border: 1px solid #222828;
  display: flex;
  margin-right: 80px;
  height: 4px;
  border-radius: 3px;
  background: rgb(51, 160, 160);
  animation: Lefttoright 6s ease forwards ; 
  animation-delay: 0s;
}
@media screen and (max-width: 570px){
    .edu{
        
        height: 100vh;
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        position: absolute;
    }
    #edu-row{
          display: flex;
          flex-direction: column;
          width: 100%;
          height: 78vh;
          justify-content: space-around;
          margin: 0px 0px 0 0px;
          padding-left: 0px;
        }
        .edu-content {
            width: 80%;
            box-shadow: 0px 0px 10px #0ef;
          }
        .year{
            display: flex;
         justify-content: space-between;
         padding: 0px 0px 10px 0;
         font-size: 20px;
        }
        .year p{
            font-size: 20px;
          padding-top: 7px;
        }
        .content{
         padding: 4px;
          border: 2px solid aqua; 
          border-radius: 9px;
        }
       #spanedit{
        display: none;
        }

}

/* CONTACT */
#contact{
  padding: 60px 5% 40px 5%;
  margin-top: 10%;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;     /* 50% / 50% */
  gap: 32px;
  align-items: start;
}

/* .contact-left, .contact-right{ */
  /* border: 2px solid cyan;
  border-radius: 16px; */
  /* padding: 24px;
  background: transparent;
  box-shadow: 0 0 5px cyan, 0 0 2px cyan, 0 0 10px cyan;
} */


.contact-left p{
  line-height: 1.55;
  margin: 8px 0;
  font-size: 15.5px;
}

.map-wrap{
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 0 6px cyan; */
}
.map-wrap iframe{
  width: 100%;
  height: 280px;
  border: 0;
}

/* Form */
#contactForm{
  width: 100%;
  max-width: 520px;
  margin: 0 auto;              /* center inside right card */
  display: flex;
  flex-direction: column;
  gap: 10px;
}


#contactForm label{
  font-size: 14px;
  color: #a7e9f0;
}

#contactForm input,
#contactForm textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #278ab1;
  background: #0a0f0f;
  color: #fff;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}

#contactForm input:focus,
#contactForm textarea:focus{
  border-color: cyan;
  box-shadow: 0 0 8px rgba(0,255,255,0.6);
}

.contact-btn{
  margin-top: 8px;
  width: 100%;
}

/* Status text */
.status{
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
  color: #64ffda;
}

/* Hover shadow for contact cards
.contact-left:hover,
.contact-right:hover{
  box-shadow: 0 0 10px cyan, 0 0 25px rgba(0,255,255,0.6), 0 0 35px rgba(0,255,255,0.35);
} */

/* Responsive: stack columns */
@media (max-width: 900px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .map-wrap iframe{
    height: 240px;
  }
}

/* Floating contact heading */
.contactHeading {
  display: inline-block;                 /* allow transform without affecting layout */
  animation: floatY 1s ease-in-out infinite alternate; /* smooth up/down loop */
  text-shadow: 0 1px 0 #0a0a0a, 0 0 10px rgba(0,255,255,0.35); /* subtle glow */
  margin-bottom: 7%;
  font-size: 75px;
}

/* Keyframes: move a few pixels up and down */
@keyframes floatY {                      /* define intermediate steps */
  0%   { transform: translateY(-6px); }
  50%  { transform: translateY(4px); }
  100% { transform: translateY(-6px); }
}

/* Respect users that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .contactHeading { animation: none; }   /* stop continuous movement */
}



@keyframes glow{
    0%{
       background-color: #ffb805; 
       box-shadow: 10px 0px 20px  rgb(55, 205, 122);
    }
    100%{
        background-color: #00f2ff;
        box-shadow: 0px 0px 10px  #0ef;
    }
}

@keyframes html{
    0%{
        width: 0;
    }
    100%{
        width: 80%;
    }
}
@keyframes jasc{
    0%{
        width: 0;
    }
    100%{
        width: 70%;
    }
}
@keyframes react{
    0%{
        width: 0;
    }
    100%{
        width: 50%;
    }
}
@keyframes node{
    0%{
        width: 0;
    }
    100%{
        width: 65%;
    }
}

@keyframes slideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideright{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideTop{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

/* Scroll Reveal Animations */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-100px); /* Starts off-screen to the left */
}

.reveal-right {
    transform: translateX(100px); /* Starts off-screen to the right */
}

.reveal-up {
    transform: translateY(100px); /* Starts off-screen from the bottom */
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translateX(0) translateY(0); /* Slides to normal position */
}

/* New Skills Section Styles */
.technical-skills {
    text-align: center;
    margin: 20px 0;
}

.technical-skills h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: rgb(27, 137, 206);
}

.skill-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Adjusted for left margin effect */
}

.skill-box {
    background-color: #111919;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 10px; /* 10px left margin */
    margin-top: 30px;
}

.skill-box:first-child {
    margin-left: 0; /* No left margin on first box */
}

.skill-box i {
    display: block;
    margin-bottom: 10px;
}

.skill-box p {
    font-size: 16px;
    font-weight: bold;
}

.skill-box:hover {
    box-shadow: 0 4px 8px cyan; /* Cyan shadow on hover */
    transform: translateY(-13px); /* Slight lift up on hover */
    z-index: 99;
    position: relative;
}

@media (max-width: 400px) {
  #Skill {
    height: auto !important;
    overflow-y: hidden;
    padding-bottom: 30px !important;

  }

  .skill-boxes {
    flex-direction: column;
    gap: 15px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .skill-box {
    width: 70% !important;
    margin-left: 0 !important;
  }

  .skillss {
    width: 100% !important;
    padding: 0 10px !important;
    margin: 30px auto 0 auto !important;
  }

  .profe {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .box {
    margin: 0 !important;
    min-width: auto !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
    body{
        overflow: hidden !important;
    }
#About {
    min-height: auto;
    height: auto;
    padding-bottom: 32px;
  }
  #secContainter {
    padding: 13px 2vw 0 2vw;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  #img2 {
    width: 70%;
    max-width: 96vw;
    margin: 0 auto 14px auto;
  }
  #Parabout {
    width: 100%;
    font-size: 14.5px;
    text-align: center;
    margin-left: -30px;

  }
}

@media (max-width: 400px) {
    #Home{
        height: unset !important;
    }
    .divbtn1{
            display: flex !important;
            flex-direction: column !important;  
            align-items: flex-start !important;
            gap: 5px !important;
            margin: 0 !important;
        }  
    #linkes {
            margin-left: 6px;
        }
    
    #btn1{
            width: 25%;
            margin-top: 10px;
            font-size: 90%;
        
        }
    .btn2{
            width: 25%;
            margin-top: 10px;
            font-size: 90%;
        }
}

    .btn2{
             font-size: 80%;
            font-weight: 900;
    }
    #btn1{
            font-size: 80%;
        font-weight: 900;
        }

        .card-container {
            perspective: 1000px;
            width: 350px;
            height: 450px;
            overflow: hidden;
        }

        .card-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out;
            cursor: pointer;
        }

        .card {
            position: relative;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            transform-style: preserve-3d;
        }

        /* Background image */
        .card-bg {
            position: absolute;
            inset: 0;
            background-image: url('./Assets/Untitled design (1).png');
            background-size: cover;
            background-position: center;
            transition: transform 0.1s ease-out;
        }

        /* Gradient overlay */
        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.7) 100%
            );
            z-index: 1;
        }

        /* Dynamic light effect */
        .card-light {
            position: absolute;
            inset: 0;
            background: radial-gradient(
                circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(168, 85, 247, 0.3) 0%,
                rgba(59, 130, 246, 0.2) 30%,
                transparent 60%
            );
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 2;
            mix-blend-mode: screen;
        }

        .card-wrapper:hover{
            opacity: 1;
        }

        /* Glare effect */
        .card-glare {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to right,
                transparent 0%,
                rgba(23, 69, 255, 0.1) 50%,
                transparent 100%
            );
            transform: translateX(-100%) rotate(45deg);
            opacity: 0;
            transition: all 0.6s ease;
            z-index: 3;
        }

        .card-wrapper:hover .card-glare {
            opacity: 1;
            transform: translateX(100%) rotate(45deg);
        }

        /* Content */
        .card-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 40px;
            z-index: 4;
        }

        .card-title {
            font-size: 3.5em;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.7);
            line-height: 0.9;
            text-shadow: 
                0 2px 10px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(168, 85, 247, 0.3);
            margin: 0;
            letter-spacing: -2px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .card-subtitle {
            font-size: 1.5em;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.7);
            line-height: 0.9;
            text-shadow: 
                0 2px 10px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(59, 130, 246, 0.3);
            margin: 0;
            letter-spacing: -2px;
            overflow: hidden;
        }

        .card-wrapper:hover .card-shadow {
            opacity: 1;
        }

        /* Border glow */
        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 2px;
            background: linear-gradient(
                135deg,
                rgba(168, 85, 247, 0.5),
                rgba(59, 130, 246, 0.5),
                rgba(16, 185, 129, 0.5)
            );
            -webkit-mask: 
                linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card-wrapper:hover .card::before {
            opacity: 1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .card-container {
                width: 280px;
                height: 360px;
                overflow: hidden;
            }

            .card-title,
            .card-subtitle {
                font-size: 2.5em;
            }

            .card-content {
                padding: 30px;
            }
        }


        