.back-vid{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  body {
    margin: 0;
    width: 100vw;
    height: 100vh;
}  

  nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
  }
  nav h1{
    margin: 10px;
    padding: 10px;
    color: white;
    line-height: 1;
    font-size: 50px;
    font-weight: 900;
  }
  
  nav ul{
    list-style: none;
    display: flex;
  }
  
  nav a{
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: 0.2s;
    padding: 0px 20px;
  }
  
  nav a:hover ,.active
   {
    color : #4acfee;
    text-decoration: underline;
  }
  .about{
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }
  .hero-img{
    margin: 50px;
    width: 400px;
    height: 400px;
    background-color: none;
    position:relative;
    border-radius: 60%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 20px #4eddfd;
    transition: 1s;
  }
  
  .hero-img:hover{
    box-shadow: 0 0 40px #4acfee;
  }
  
  .hero-img img{
    position: absolute;
    width: 85%;
    mix-blend-mode: lighten;
  }
.about-text{
    font-size: 30px;
    font-weight: 600;
    color: white;
    line-height:1.7;
    margin: 0px 0px 0px;  
}
.about-text p{
    color: aliceblue;
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 4rem;
}
.know-more{
    margin-top: 15px;
    display: inline-block;
    padding: 12px 28px;
    background: #4acfee;
    border-radius: 40px;
    font-size: 16px;
    color: black;
    letter-spacing:none;
    font-weight: 600;
  }
  .know-more:hover{
    color: white;
    box-shadow: 0 0 10px #4acfee;
  }

@media (max-width: 768px) {
  body {
    height: auto;
    min-height: 100vh;
    padding-bottom: 30px;
  }
  nav {
    flex-direction: column;
    padding: 10px;
  }
  nav h1 {
    font-size: 35px;
    margin: 5px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
  nav a {
    padding: 5px 10px;
    font-size: 16px;
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }
  .hero-img {
    width: 250px;
    height: 250px;
    margin: 20px auto;
  }
  .about-text {
    font-size: 24px;
    margin-top: 20px;
  }
  .about-text p {
    font-size: 18px;
    margin-bottom: 2rem;
  }
}

/* Projects Grid Styles */
.projects-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.project-card {
    background: rgba(74, 207, 238, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 207, 238, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    width: 350px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover {
    box-shadow: 0 0 20px #4acfee;
    transform: translateY(-10px);
    background: rgba(74, 207, 238, 0.2);
}

.project-card h3 {
    color: #4acfee;
    font-size: 28px;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: aliceblue;
}

.cart-btn-wrapper {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    pointer-events: none;
    height: 0px;
}

.project-card:hover .cart-btn-wrapper {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    height: 50px;
}

/* Add To Cart Button CSS */
.add-to-cart {
    --background-default: #fff;
    --background-hover: #F2F2F9;
    --background-scale: 1;
    --text-color: #17171B;
    --text-o: 1;
    --text-x: 12px;
    --cart: #17171B;
    --cart-x: -48px;
    --cart-y: 0px;
    --cart-rotate: 0deg;
    --cart-scale: .75;
    --cart-clip: 0px;
    --cart-clip-x: 0px;
    --cart-tick-offset: 10px;
    --cart-tick-color: #00fffc;
    --shirt-y: -16px;
    --shirt-scale: 0;
    --shirt-color: #fff;
    --shirt-logo: #17171B;
    --shirt-second-y: 24px;
    --shirt-second-color: #17171B;
    --shirt-second-logo: #fff;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    background: none;
    border: none;
    padding: 12px 0;
    width: 164px;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-family: inherit;
}

.add-to-cart:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 5px;
    transition: background 0.25s;
    background: var(--background, var(--background-default));
    transform: scaleX(var(--background-scale)) translateZ(0);
}

.add-to-cart:not(.active):hover {
    --background: var(--background-hover);
}

.add-to-cart span {
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--text-color);
    opacity: var(--text-o);
    transform: translateX(var(--text-x)) translateZ(0);
}

.add-to-cart svg {
    display: block;
    width: var(--svg-width, 24px);
    height: var(--svg-height, 24px);
    position: var(--svg-position, relative);
    left: var(--svg-left, 0);
    top: var(--svg-top, 0);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.add-to-cart svg path {
    fill: var(--svg-fill, none);
    stroke: var(--svg-stroke, none);
    stroke-width: var(--svg-stroke-width, 2);
}

.add-to-cart .morph {
    --svg-width: 64px;
    --svg-height: 13px;
    --svg-left: 50%;
    --svg-top: -12px;
    --svg-position: absolute;
    --svg-fill: var(--background, var(--background-default));
    transition: fill 0.25s;
    pointer-events: none;
    margin-left: -32px;
}

.add-to-cart .shirt,
.add-to-cart .cart {
    pointer-events: none;
    position: absolute;
    left: 50%;
}

.add-to-cart .shirt {
    margin: -12px 0 0 -12px;
    top: 0;
    transform-origin: 50% 100%;
    transform: translateY(var(--shirt-y)) scale(var(--shirt-scale));
}

.add-to-cart .shirt svg {
    --svg-fill: var(--shirt-color);
}

.add-to-cart .shirt svg g {
    --svg-fill: var(--svg-g-fill, var(--shirt-logo));
}

.add-to-cart .shirt svg.second {
    --svg-fill: var(--shirt-second-color);
    --svg-g-fill: var(--shirt-second-logo);
    --svg-position: absolute;
    -webkit-clip-path: polygon(0 var(--shirt-second-y), 24px var(--shirt-second-y), 24px 24px, 0 24px);
    clip-path: polygon(0 var(--shirt-second-y), 24px var(--shirt-second-y), 24px 24px, 0 24px);
}

.add-to-cart .cart {
    --svg-width: 36px;
    --svg-height: 26px;
    --svg-stroke: var(--cart);
    top: 10px;
    margin-left: -18px;
    transform: translate(var(--cart-x), var(--cart-y)) rotate(var(--cart-rotate)) scale(var(--cart-scale)) translateZ(0);
}

.add-to-cart .cart:before {
    content: "";
    display: block;
    width: 22px;
    height: 12px;
    position: absolute;
    left: 7px;
    top: 7px;
    background: var(--cart);
    -webkit-clip-path: polygon(0 0, 22px 0, calc(22px - var(--cart-clip-x)) var(--cart-clip), var(--cart-clip-x) var(--cart-clip));
    clip-path: polygon(0 0, 22px 0, calc(22px - var(--cart-clip-x)) var(--cart-clip), var(--cart-clip-x) var(--cart-clip));
}

.add-to-cart .cart path.wheel {
    --svg-stroke-width: 1.5;
}

.add-to-cart .cart path.tick {
    --svg-stroke: var(--cart-tick-color);
    stroke-dasharray: 10px;
    stroke-dashoffset: var(--cart-tick-offset);
}