body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(0, 0, 0);
}

html{
    scroll-behavior: smooth;
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
}


.back-vid{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode:overlay;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* This keeps left on left, ul in center, can add right if needed */
    position: fixed;
    top: 0; right: 0; left: 0;
    padding: 10 30px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px #72a1dea2;
    z-index: 999;
}

.left {
    display: flex;
    align-items: center;
}

.left img {
    width: 40px;
    margin: 0 15px;
}

header ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    width:25%;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.326);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #72a1de63;
    margin: 0 auto; /* This helps center if space allows */
}

header ul li {
    list-style: none;
}

header ul a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 10px;
}

header ul a:hover{
    text-shadow: 0 0 15px black;
}

.box-icons{
    display: flex;
    gap: 40px;
}

.box-icons p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #72a1de;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
}

.box-icons p:hover{
    background-color: #72a1de;
    color: black;
    box-shadow: 0 0 15px #72a1de;
}

.blackhole-box{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: -1;
    mix-blend-mode: lighten;
  }
  
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

.hero{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.hero-module{
        transition: 0.3s;
}

.hero-info{
    position: absolute;
    left: 5%;
    z-index: 10; /* above spline */
    padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  /* optionally add some backdrop blur if you want */
   /*backdrop-filter: blur(10px); */
}

.hero-info .hero-info-title{
    color: #ffffff;
    padding: 8px 5px;
    border-radius: 50px;
    border: 1px solid #72a1de94;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de84;
}

.hero-info h1 {
    font-size: 100px; /* increased from 60px */
    max-width: 600px;
    font-weight: 700;
    line-height: 100px; /* adjusted line-height to match bigger font */
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero-info h1-2 {
    font-size: 20px; /* decreased from 50px */
    max-width: 600px;
    font-weight: 700;
    line-height: 20px; /* adjusted line-height to match smaller font */
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p{
    max-width: 550px;
    line-height: 20px;
    margin-bottom: 40px;
    font-size: 15px;
}

.hero-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover{
    box-shadow: 0 0 15px #72a1de81;
}

/* Gradient Animation */
.gradient{
    background: linear-gradient(to right,#00aaa7, #ffe48ae6, #8793ff,#60ffcd, #69c3ff, #00aaa7);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 3.5s linear infinite;
}
@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

.skills-video-box{
    position: absolute;
    right: 3%;
}

.skills-video{
    height: 900px;
    mix-blend-mode:lighten;
}


.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid rgb(142, 142, 142);
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(125, 125, 125, 0.626);
  }
  .scroll-down::before,
  .scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid rgb(114, 114, 114);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
  }
  .scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
    /* animation: scroll-down 1s ease-in-out infinite; */
  }
  
  @keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 90%;
      opacity: 0;
    }
  }




.info-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
    margin-top: 100px;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
}

.info-cards{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.card{
    display: flex;
    align-items:flex-start;
    justify-content: center;
    position: relative;
    width: auto;
    height: 33vh;
    overflow: hidden;
    border: 1px solid rgb(255, 255, 255);
    background-color: #5b4e7ab7;
    border-radius: 20px;
    transition: 0.5s;
    padding: 15px; /* add padding inside card */
    box-sizing: border-box; /* ensure padding inside width */
}



.card h1{
    position: absolute;
    margin: 0;
    bottom: 32%;
    left: 5%;
    font-size: 25px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

.card h3{
    position: absolute;
    margin: 0;
    bottom: 30%;
    left: 5%;
    font-size: 25px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

.card p-1{
    position: absolute;
    bottom: 15%;
    left: 5%;
    z-index: 1;
    max-width: 300px;
    color: rgb(255, 255, 255);
    font-size: 13px;
    line-height: 20px;
}

.card p{
    position: absolute;
    bottom: 3%;
    left: 5%;
    z-index: 1;
    max-width: 300px;
    color: rgb(255, 255, 255);
    font-size: 13px;
    line-height: 20px;
}

.card img{
    width: 80%;
    height: 50%;
    object-fit: cover;
    border-radius: 15px;
    border-radius: 20px;
}

.card video{
    margin-top: 3%;
    width: 70%;
    height: 50%;
    object-fit: cover;
    mix-blend-mode: lighten;
    border-radius: 20px;
}

.card button{
    position: absolute;
    bottom: 5%;
    left: 5%;
    padding: 10px 25px;
    border: 1px solid rgb(255, 255, 255);
    background-color: #0f1217;
    color: rgb(255, 255, 255);
    border-radius: 20px;
    box-shadow: 0 0 5px lightgray;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover{
    box-shadow: 0 0 15px rgb(255, 255, 255);
    opacity: 0.7;
}

.card:hover{
    box-shadow: 0 0 15px rgb(116, 234, 255);
}

.card:nth-child(3){
    grid-row: span 2;
    height: 70vh;
}

.card:nth-child(3) p{
    bottom: 12%;
}

.card:nth-child(3) h1{
    bottom: 21%;
}

.card:nth-child(4){
    grid-column: span 2;
}

.card:nth-child(4) p{
    max-width: 650px;
}

.card:nth-child(4) h1{
    bottom: 35%;
}



.my-project{
    display: flex;
    flex-direction: column;
    gap: 10%;
    align-items: center;
    position: relative;
    width: 80%;
    height: 100vh;
    margin-top: 200px;
    margin-bottom: 700px;
}

.project-card {
    display: flex;
    width: 100%;
    height: 40%; 
    align-items: center;
    gap: 10%;
    justify-content: center;
}

.project-vidbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 400px;
  height: 90%;
  mix-blend-mode: exclusion;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 20px;
  overflow: hidden;
}

.project-vidbox video,
.project-vidbox img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgb(255, 255, 255);
  border-radius: 20px;
  transition: 0.5s;
  display: block;
}

.project-card video:hover{
    box-shadow: 0 0 25px rgb(255, 255, 255);
}

.project-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 50%;
    padding-left: 10%;
}

.project-info h1{
    width: 90%;
    font-size: 30px;
    font-weight: bold;
    text-wrap: nowrap;
    margin-top: 50;
    margin-bottom: 10px;
    max-width: 500px;
}

.project-info p{
    width: 90%;
    max-width: 400px;
    min-width: 300px;
    margin-bottom: 50px;
    margin-top: 0;
}

.project-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 20px;
}

.project-info button:hover{
    opacity: 0.8;
    box-shadow: 0 0 15px #72a1de81;
}

.project-vidbox .hover-sign{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100px;
}

.hover-sign::before,
.hover-sign::after {
    content: "👆";
    text-align: center;
    position: absolute;
    font-size: 50px;
    top: 20%;
    left: 40%;
    border-radius: 40px;
    animation: hover-animation 4s ease-in-out infinite;

}

.hover-sign.active{
    display: none;
}

@keyframes hover-animation {
  0% {
    /* top:20%; */
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translate(100%, 50%) rotate(30deg);
  }

  100% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translateX(80%, 80%) rotate(20deg);
  }
}

.slogan{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    height: 500px;
    border-bottom: none;
}

.slogan h1{
    position: absolute;
    top: -20%;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 50px;
    max-width: 1000px;
    text-align: center;
    color: white;
}


.slogan h3{
    position: absolute;
    top: 20%;
    font-size: 20px;
    max-width: 700px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    line-height: 30px;
    color: rgb(255, 255, 255);
}

/* ARTWORKS SECTION */
.artworks-section{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    border-top: none;
    padding-bottom: 10%;
}

.explore-more img{
    width: 300px;
    height: 160px;
    border-radius: 40px;
}

.artworks-section h1{
    font-size: 50px;
    max-width: 600px;
    text-align: center;
    color: rgb(111, 101, 150);
    margin: 100px 0;
}

.artworks-card-box{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.artworks-gradient{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    box-shadow: 0 0 500px 500px rgba(146, 113, 161, 0.1);
    mix-blend-mode: lighten;
}

.artworks-card{
    position: relative;
    width: 25%;
    min-width: 400px;
    height: 500px;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
}

.artworks-card h2{
    position: absolute;
    top: 5%;
    left: 5%;
    font-size: 29px;
}

.artworks-card p{
    position: absolute;
    top: 20%;
    left: 5%;
    max-width: 300px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    line-height: 25px;
}

.artworks-card .explore-more{
    position: absolute;
    left: 10%;
    bottom: 8%;
    right: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.artworks-card .explore-more a{
    text-decoration: none;
    color: rgb(117, 117, 117);
    font-size: 20px;
    font-weight: bold;
    text-wrap: nowrap;
}

.artworks-back-img{
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s;
    border-radius: 20px;
}

.artworks-back-img:hover{
    opacity: 0.1;
    border-radius: 20px;
}

/* Skills section */
.skills-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.skills-box{
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    mix-blend-mode:lighten;
    opacity: 0.7;
}

.skills-image{
    width: 45%;
    mix-blend-mode:difference;
    border-radius: 16px;
}

/* Parent container wrapping both .Designer and .coder should use flex */
.parent-wrapper {
  position: relative;  /* Because Designer and coder are absolute inside */
  display: flex;
  justify-content: space-between;
  max-width: 1000px;   /* or whatever max content width */
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
/* Both boxes */
.Designer, .coder {
  position: absolute;
  top: 10%;
  width: 300px;             /* fixed width */
  min-height: 100px;        /* fix min height */
  background-color: white;
  padding: 24px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  color: #111;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 20;
  transition: box-shadow 0.3s ease;
}

/* position left/right */
.Designer {
  left: 5%;
}

.coder {
  right: 5%;
}

/* SLIDER  */

.slider{
    position: absolute;
    bottom: 25%;
    right: 20%;
    width: 50%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    mix-blend-mode:difference;
    opacity: 0.7;
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}


  /* CONTACT SECTION */
.contact-section{
    width: 80%;
    height: 100vh;
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
    position: relative;
}

.contact-section h1{
    position: absolute;
    top: 10%;
    left: 40%;
}

.social-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-box a{
    color: #689fff;
    text-decoration: none;
    font-size: 20px;
    text-wrap: nowrap;
}

.social-box i{
    color: #689fff;
    font-size: 30px;
    margin-right: 10px;
}

.social-icons a i{
    color: rgb(106, 106, 106);
    margin-top: 40px;
}

.contact-box p{
    max-width: 400px;
    margin-top: 30px;
    margin-bottom: 5px;
} 

.download-btn {
  position: flex;
  left: 50%;
  bottom: 35px;      /* Distance from the bottom */
  transform: translateX(-50%);
  z-index: 1000;
  padding: 10px 25px;
  min-width: 70px; 
  background: #b3a5f7;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.3s;
}
.download-btn:hover {
  background: #3e81c7;
}

.contact-box input{
    padding: 7.5px 30px;
    background-color: lightgray;
    width: 80%;
    height: 25px;
    border: none;
    outline : none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.contact-box button{
    margin-top: 30px;
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.contact-box button:hover{
    opacity: 0.8;
    box-shadow: 0 0 15px #72a1de81;
}

.footer{
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    z-index: 998;
    padding: 0 3rem;
}


/* BLUR EFFECT ANIMAION */

.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();

}
@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
    }
    35%,65%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(40px);
        opacity: 0;
    }
}


/* AUTO DISPLAY ANIMAION */
.autoDisplay{
    animation: autoDisplayAnimation both;
    animation-timeline: view();

}

@keyframes autoDisplayAnimation{
    from{
        filter: blur(10px);
        transform: translateY(-200px) scale(0);
    } 50%{
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0) scale(1);
    }
}


/* FADEIN_LEFT */

.fadein-left{
    animation: fadeInLeftAnimation both;
    animation-timeline: view();
}

@keyframes fadeInLeftAnimation{
    0%{
        opacity: 0;
        transform: translateX(-500px) scale(0.2);
        filter: blur(10px);
    } 35%,65%{
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }100%{
        filter: blur(10px);
    }
}

.menu-icon{
    font-size: 35px;
    cursor: pointer;
    display: none;
}


.sidebar{
    position: fixed;
    right: 0;
    top: 0;
    bottom: 70%;
    width: 0%;
    background-color: #000000b8;
    z-index: 999;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.479);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-bottom-left-radius: 100%;
    
}

.close-icon{
    font-size: 50px;
    color: lightgray;
    padding-left: 10px;
    cursor: pointer;
}

.sidebar ul{
    padding-left: 20px;
}

.sidebar ul li{
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a{
    text-decoration: none;
    color: lightgray;
    font-size: 30px;
    font-weight: 900;
    text-shadow:0 0 15px #4c4c4c;
}

.social-sidebar{
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.social-sidebar a{
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    transition: 0.5s;
}

/* Sidebar Open ANimation */
.sidebar.open-sidebar{
    animation: openSideBarAnimation 1.5s forwards;
}

@keyframes openSideBarAnimation {
    to{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
}

/* Sidebar close ANimation */

.sidebar.close-sidebar{
    animation: closeSideBarAnimation 1.5s forwards;
}

@keyframes closeSideBarAnimation {
    from{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    to{
        width: 0;
        opacity: 0;
        bottom: 70%;
        border-bottom-left-radius: 50%;
    }
}




@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}

/* Tablet ratio*/
@media screen and (max-width: 1200px){
    .blackhole-box video{
        margin-top: -20%;
    }

    .hero-info h1{
        font-size: 40px;
        max-width: 400px;
        line-height: 40px;
    }

    .hero-info P{
        max-width: 300px;
    }

    .scroll-down{
        left: 45%;
    }

    .slogan h1{
    padding-top: 220px; /* Increase the value as needed */
    }

    .slogan h3{
    padding-top: 220px; /* Increase the value as needed */
    }

    .skills-video-box{
        right: 0%;
    }

    .skills-video-box video{
        height: 500px;
    }

    .info-cards{
        grid-template-columns: auto;
    }

    .card:nth-child(3) {
     position: relative; /* for absolute child */
     grid-column: span 2;
     height: 50vh;
     padding: 20;
     overflow: hidden;
    }

.card:nth-child(3) p {
  position: absolute;
  bottom: 15%;
  left: 30px;
  right: 1rem;
  margin: 0;
  font-size: 0.875rem;
  overflow-wrap: break-word;
  color: white; /* if over image */
  text-shadow: 0 0 5px rgba(0,0,0,0.7); /* for readability */
}

    .info-cards .card h1{
        font-size: 20px;
    }

    .info-cards .card:nth-child(3) h1{
        bottom: 25%;
    }

    .info-cards .card:nth-child(1) p{
     position: absolute;
     bottom: 10%; /* 100% bottom is outside of box. Changed to 10% */
     left: 1rem;
     right: 1rem;
     margin: 0;
     font-size: 0.875rem; /* 14px approx */
     word-wrap: break-word;
    }

.info-cards .card:nth-child(3) p {
    margin: 0;
    font-size: 0.875rem;
    overflow-wrap: break-word;
    /* let it flow naturally */
}

    .card video{
        height: 49%;
        margin-top: 4%;
    }

    .my-project{
        margin-bottom: 200px;
        scale: 0.8;
    }

    .contact-section .section-title {
        left: 30%;
    }
}

@media screen and (max-width: 820px){
    .slogan h3{
    display: none;
    }
}

@media screen and (max-width: 700px){
    header {
        position: fixed;
        height: 50px;
    }

    header ul{
        display: none;
    }

    header .box-icons{
        display: none;
    }

    .menu-icon{
        display: inline;
    }

    .blackhole-box video {
        display: none;
    }

    .autoBlur{
        animation: none;
    }
    
   spline-viewer {
   width: 100vw;
   height: 100vh;
    }

    .hero{
        flex-direction: column;
        top:0;
        bottom: 0;
        left: 0;
        right:0;
        
    }
    
    .hero-info{
        bottom: 30%;
    }

    .scroll-down{
        left: 45%;
        bottom: 8%;
    }

    .hero .skills-video-box{
        height: 200px;
        top: 5%;
    }

    .info-cards{
        grid-template-columns: auto;
    }

    .card:nth-child(3){
        grid-column: span 2;
        height: 70vh;
        z-index:1;
    }

    .card video{
        width: 100%;
    }
    
    .container{
        height: 100%;
    }

    .slogan h1{
    padding-top: 40px;
    }

    .slogan h3{
    padding-top: 300px; /* Increase the value as needed */
    margin-top: 20%;
    }

    .project-vidbox {
    min-width: unset;
    }

    /*.project-vidbox video{
        width: 100%;  
        margin-left: -100px;
        z-index:1;
    }*/

    .project-vidbox img{
        width: 100%;  
        height: 100%;  
        z-index:1;
    }

    .project-info{
    overflow: hidden; /* image box title hidden*/
    padding-left: 0;
    width: 100%;
    padding: 60px;         /* More space inside */
    margin-left: 0;        /* Remove negative margin to avoid cropping */
    box-sizing: border-box; 
    height: auto;          /* Let content decide height */
    }

    .project-info button{
        padding: 5px 10px;
        height: 100px;
        width: 100px;
    }

    .my-project{
        margin-bottom: 600px;
    }

    .project-card{
        flex-direction: column;
        margin-left: 0;
        gap: 30px;
    }
    
    .project-vidbox{
        min-width: 200px;
        height: 100vh;   
    }

    .project-info p{
        max-width: 400px;
        font-size: 13px;
    }

    .slogan h3{
    padding-top: 100px; /* Increase the value as needed */
    }

    .Designer{
        top: 21%;
        left: 18%;
    }

    .Designer h1{
        margin-bottom: 0;
        margin-top: 20px;
    }

    .coder{
        top: 55%;
        left: 18%;
    }

    .coder h1{
        margin-bottom: 0;
    }

    .slider{
    bottom: -5%;
    }

 /*   .contact-section .section-title {
        top: -10%;
    }
}*/


/* Media queries to adjust max-width on different screen sizes 
@media (max-width: 600px) {
    .Designer,
    .coder {
        max-width: 90vw;
        left: 10%;
    }
    .Designer h1,
    .coder h1 {
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .Designer,
    .coder {
        max-width: 60vw;
        left: 20%;
    }
    .Designer h1,
    .coder h1 {
        font-size: 2.5rem;
    }
}*/
    .slider .list .item img{
        width: 70%;
    }

    .contact-section{
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 50px;
    }

        .contact-section .section-title {
        top: 0%;
        left:30%;
    }

    .footer{
        font-size: 9px;
    }

    .social-box{
        margin-left: -90px;
    }
}

/*mobile*/
@media screen and (max-width: 480px) {

    .left {
        scale: 0.9;
        margin-left: -30px;
    }

    .left h2 {
        font-size: 20px;
    }

    .hero {
        scale: 1;
    }

    .hero-info{
        bottom: 15%;
    }

    .hero-info h1{
        font-size: 35px;
    }

    .scroll-down{
        bottom: 5%;
        left: 50%;
    }

    .section-title {
        font-size: 25px;
    }

    .info-cards{
        display: flex;
        flex-direction: column;
    }

    .card {
        min-height: 20rem;
    }

    .card h1{
        bottom: 30%;
        font-size: 5px;
    }

    .project-info{
  /* image box title hidden*/
    width: 150%;
    padding: 40%;   
    box-sizing: border-box; 
    height: auto;          /* Let content decide height */    /* More space inside */
    }

    .project-info button{
        padding: 5px 10px;
        height: 100px;
        width: 100px;
    }

     .project-info h1{
        font-size: 20px;
    }

    .slogan h1{
    margin-top: 50%;
    padding-top: -50px;
    font-size: 30px;
    }

    .slogan h3{
    padding-top: 250px; /* Increase the value as needed */
    font-size: 15px;
    }

    .artworks-section h1{
    font-size: 30px;
   }

    .project-card {
        height: 50%;
    }

    .project-vidbox {
    height: 90%;
    }

    .project-info p{
        margin-bottom: 15px;
    }

    .project-info{
        margin-left: -80px;
    }

    .artworks-card-box{
    width: 90%;
    gap: 50px;
    }

    .artworks-card{
    width: 5%;
    min-width: 300px;
    height: 500px;
    }

    .artworks-card h2{
    top: 5%;
    left: 5%;
    font-size: 25px;
    }

    .artworks-card p{
    top: 20%;
    left: 5%;
    max-width: 300px;
    font-size: 15px;
    }

    .artworks-card .explore-more{
    left: 8%;
    bottom: 0%;
    height: 50%;
    }

    .artworks-section{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    border-top: none;
    padding-bottom: 10%;
    }

    .explore-more img{
    width: 210px;
    height: 160px;
    border-radius: 40px;
    }

    .skills-box{
    height: 120vh;
    }

        .Designer{
        top: 15%;
        left: 0%;
    }

    .Designer h1{
        margin-bottom: 0;
        margin-top: 20px;
    }

    .coder{
        top: 40%;
        left: 0%;
    }

    .coder h1{
        margin-bottom: 0;
    }

    .slider{
        bottom: 10%;
    }

.social-box {
    gap: 25px;
}

.social-box a{
    font-size: 14px;
}

.social-box i{
    color: #689fff;
    font-size: 5px;
    margin-right: 120px;
}

.social-icons a i {
    display: none;
}

    .contact-section{
        scale: 0.9;
        height: 120vh;
    }

    .contact-section .section-title {
        top: -30px;
        left: 25%;
    }

    .footer{
        padding: 15px;
    }

    .footer h1{
        max-width: 150px;
    }

    .footer .box-icons{
        gap: 10px;
    }
}

/*mobile*/
@media screen and (max-width: 400px) {

   .project-info{
  /* image box title hidden*/
    width: 180; /* More space inside */
    }

     .project-info h1{
    font-size: 19px;
    }

    .project-info p {
     /*display: none;*/
    }

    .slogan h1{
    margin-top: 50%;
    padding-top: -50px;
    font-size: 30px;
    }

    .slogan h3{
    padding-top: 250px; /* Increase the value as needed */
    font-size: 15px;
    }

    .Designer{
        top: 15%;
        left: -3%;
    }

    .Designer h1{
        margin-bottom: 0;
        margin-top: 20px;
    }

    .coder{
        top: 40%;
        left: -3%;
    }

    .coder h1{
        margin-bottom: 0;
    }
}