*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    overflow: auto;
    background-color: #0a0a0a;
    scrollbar-width: none;    
    -ms-overflow-style: none;
}

body::-webkit-scrollbar{
  display: none;
}

/* Following Cursor */
.cursor{
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgb(228, 228, 228);
    border-radius: 50%;
    pointer-events: none;
    z-index: 998;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower{
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(228, 228, 228);
    border-radius: 50%;
    pointer-events: none;
    z-index: 998;
    transition: transform 0.2s ease;
}

/* Loading screen */
.loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    flex-direction: column;
    animation: fade-out 0.7s ease-in-out 2.5s forwards;
}

@keyframes fade-out{
    to{ opacity: 0; }
}

.loader-text{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 1;
}

.loader-bar{
    width: 300px;
    height: 4px;
    background: #fff;
    overflow: hidden;
}

.loader-progress{
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #667dff, #00aeac);
    animation: fill-progress 2s ease-in-out 0.7s forwards;
}

@keyframes fill-progress{
    to{ width: 100%; }
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: black;
    z-index: 30;
}

.back-vid{
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    animation: fade-in 2s ease-in-out forwards;
}

@keyframes fade-in{
    to{ opacity: 1; }
}

header{
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 15px #72a1dea2;
    transform: translateY(-100%);
    z-index: 999;
    animation: slide-down 1s ease-out 3.2s forwards;
}

@keyframes slide-down{
    to{ transform: translateY(0); }
}

.left{
    display: flex;
    align-items: center;
}

header ul{
    display: flex;
    justify-content: space-between;
    width: 35%;
    padding: 15px 15px;
    border-radius: 15px;
    background-color: rgba(0, 0, 69, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #72a1de63;
}

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 a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #72a1de;
    border-radius: 50%;
    transition: 0.5s;
    color: inherit;
    text-decoration: none;
}

.box-icons a:hover, .social-sidebar a:hover{
    background: #72a1de;
    color: black;
    box-shadow: 0 0 15px #72a1de;
    cursor: pointer;
}

.head-name{
    color: #72a1dea2;
}

/* Sidebar */
.menu-icon{
    font-size: 35px;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.sidebar{
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    z-index: 997;
    opacity: 0;
    bottom: 0;
    transform: translateY(-100%);
    padding: 0 20px;
}

.close-icon{
    font-size: 50px;
    color: transparent;
    padding-left: 10px;
    cursor: pointer;
    justify-self: right;
}

.sidebar ul{
    margin-top: 50px;
    justify-items: center;
    backdrop-filter: blur(10px);
}

.sidebar ul li{
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: lightgray;
    font-size: 30px;
    font-weight: 900;
    text-shadow: 0 0 15px #4c4c4c;
}

.social-sidebar{
    display: flex;
    gap: 30px;
    justify-self: center;
    margin-top: 60px;
    text-wrap: nowrap;
}

.social-sidebar a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 50%;
    /* This is for anchor tag */
    text-decoration: none; 
    color: #fff;
}

.sidebar.open-sidebar{
    animation: openSidebar 1s forwards;
}

.nav-link a{
    color: #ffffff;
    text-decoration: none;
    position: relative;
    
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.nav-link a:hover{
    color: #00aeac;    
    text-shadow: 0 0 15px #667dff;
}

.nav-link a::after, .sidebar .nav-link a::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%; 
    height: 2px;
    transform: scaleX(0); 
    transform-origin: center; 
    background: #fff; 
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.nav-link a.active::after, .sidebar .nav-link a.active::after{
    transform: scaleX(1);
}

@keyframes openSidebar{
    to{
        transform: translateY(50px);
        opacity: 1;
    }
}

.sidebar.close-sidebar{
    animation: closeSidebar 1s forwards;
}

@keyframes closeSidebar{
    from{
        transform: translateY(50px);
        opacity: 1;
    }
    to{
        transform: translateY(-100%);
        opacity: 0;
    }
}

#scrollToTopBtn{
  display: none;
  position: fixed; 
  bottom: 80px;
  right: 20px; 
  z-index: 1000;
  border-radius: 10px;
  background-color: rgba(0, 0, 69, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 15px #72a1dea2;
  color: white;
  cursor: none;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  transition: opacity 0.7s ease-in-out;
}

#scrollToTopBtn:hover{
  background-color: rgba(0, 0, 69, 0.614);
}

/* Hero Content (phase 1) */
.hero{
    position: relative;
    display: flex;
    background-color: transparent;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: flex-start;
    z-index: 20;
}

/* this is the state of loding animation */
.hero-info-title,
.hero-info-h1,
.hero-info-p,
.hero-info-btn,
.scroll-down{
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
}

.hero-info{
    position: relative;
    left: 7%;
    padding-right: 7rem;
    z-index: 21;
    cursor: default;
}

.hero-info-title{
    color: #72a1de;
    padding: 11px 13px;
    border-radius: 50px;
    border: 1px solid #72a1de94;
    display: inline-block;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de84;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(5rem);
    animation: fade-up 0.8s ease-out 3.2s forwards;
}

@keyframes fade-up{
    to{
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

.diamond{
    animation: 2s rotate360 infinite linear;
}

@keyframes rotate360{
    to{ transform: rotateY(360deg); }
}

.hero-info-h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 60px;
    margin-top: 40px;
    margin-bottom: 30px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(5rem);
    animation: fade-up 0.8s ease-out 4s forwards;
}

.hero-info-p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(5rem);
    animation: fade-up 0.6s ease-out 4.6s forwards;
}

.hero-info-btn{
    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;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(5rem);
    font-size: 15px;
    animation: fade-up 0.4s ease-out 5.3s forwards;
    /* This is for anchor tag */
    text-decoration: none; 
    display: inline-block;
}

.hero-info-btn:hover{
    box-shadow: 0 0 15px #72a1de81;
}

/* Gradient Animation */
.gradient{
    background: linear-gradient(to right,#00aaa7, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient{
    to{ background-position: 200%; }
}

.skills-video-box{
    position: absolute;
    right: 3%;
}

.skills-video{
    height: 600px;
}

.scroll-down{
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
    opacity: 0;
    animation: fade-up 0.8s ease-out 5.6s forwards;
}

.scroll-down::before,
.scroll-down::after{
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid lightgray;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
}
.scroll-down::before{
    top: 30%;
    animation-delay: 0.5s;
}

@keyframes scroll-down{
    0%{
        opacity: 0;
    }
    30%{
        opacity: 1;
    }
    60%{
        opacity: 1;
    }
    100%{
        top: 90%;
        opacity: 0;
    }
}

/* Info section (phase 2) */
.info-section{
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin-top: 100px;
    z-index: 20;
    animation: show-up;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
    margin-top: 100px;
}

.info-cards{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 80px;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: auto;
    min-width: 25vw;
    height: 42vh;
    overflow: hidden;
    border: 1px solid gray;
    border-radius: 20px;
    transition: 0.5s;
    backdrop-filter: blur(3px);
}

.info-content{
    padding: 5%;
}

.card h1{
    font-size: 20px;
    color: lightgray;
}

.card p{
    margin-top: 20px;
    color: rgba(248, 248, 255, 0.912);
    font-size: 17px;
    line-height: 20px;
    text-align: left;
}

.card img{
    width: 80%;
    height: 50%;
    object-fit: cover;
    mix-blend-mode: lighten;
    align-self: center;
}

.card:hover{
    box-shadow: 0 0 15px #72a1dea2;
}

.card:nth-child(4){
    display: flex;
    flex-direction: row-reverse;
    height: 35vh;
}
.card:nth-child(4) .info-content{
    align-self: center;
    padding-right: 0;
}
.card:nth-child(4) img{
    width: 40%;
    height: auto;
}

.card:nth-child(3){
    grid-row: span 2;
    height: 80vh;
}

.card:nth-child(4){
    grid-column: span 2;
}

.card:nth-child(3) img{
    width: 100%;
    height: auto;
    animation: spin 20s infinite linear;
    margin-bottom: 10px;
}

/* To rotate the gear */
@keyframes spin{
    from{
        transform: rotate(0deg);
    } to{
        transform: rotate(360deg);
    }
}

/* Project Section (phase 3) */
.my-project{
    position: relative;
    display: none;
    flex-direction: column;
    gap: 10%;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 150px;
    margin-bottom: 50px;
    z-index: 20;
}

.project-content{
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.project-card{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5%;
    /* background-color: red; */
}

.project-vidbox{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    mix-blend-mode: exclusion;
    cursor: pointer;
    transition: 0.5s;
    min-width: 400px;
}

.project-vidbox img{
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 10px lightgray;
    border-radius: 20px;
    transition: 0.5s;
}

.project-vidbox img:hover{ 
    box-shadow: 0 0 25px #72a1dea2;
}

.project-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 50%;
    padding-left: 10%;
}

.project-info h1{
    font-size: 25px;
    font-weight: bold;
    text-wrap: nowrap;
    margin-bottom: 15px;
}

.project-info p{
    /* max-width: 500px;
    min-width: 300px; */
    font-size: 18px;
}

.project-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    margin-left: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.project-info button:hover{
    box-shadow: 0 0 15px #72a1de81;
}

.project-btns{
    display: flex;
    flex-direction: row;
    margin-top: 50px;
}

/* Display Fade Animation */
.autoDisplay{
  opacity: 0;
  transform: translateY(-200px) scale(0);
  filter: blur(10px);
  transition: none;
}

.autoDisplay.show{
  animation: autoDisplayAnimation 1s ease-out forwards;
}

@keyframes autoDisplayAnimation{
  from{
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-200px) scale(0);
  }
  70%{
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
  to{
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.fadein-left{
  opacity: 0;
  transform: translateX(-500px) scale(0.2);
  filter: blur(10px);
}

.fadein-left.show{
  animation: fadeInLeftAnimation 1.2s ease-out forwards;
}

@keyframes fadeInLeftAnimation{
  0%{
    opacity: 0;
    transform: translateX(-500px) scale(0.2);
    filter: blur(10px);
  }
  50%{
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
  100%{
    /* Same as 50% to freeze it visually */
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* Skills Section (phase 4) */
.skills-section{
    position: relative;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    height: auto;
    width: 100%;
    margin-top: 100px;
}

.skills-box{
    width: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    align-items: center;
    mix-blend-mode: lighten;
    padding: 0 3%;  
}

.skills-content{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.skills-image{
    width: 80%;
    mix-blend-mode: difference;
}

.Designer{
    filter: blur(10px);
    width: 60%;
}

.Designer.show{
    animation: slidetoLeft 1.5s ease forwards;
}

@keyframes slidetoLeft{
    0%{
        filter: blur(10px);
        transform: translateX(100%); 
    } 50%{
        filter: blur(0);
        transform: translateX(0%); 
    } 100%{
        filter: blur(0);
        transform: translateX(0%); 
    }
}

.Designer h1{
    font-size: 35px;
    margin-bottom: 10px;
    text-align: center;
}

.Designer p{
    line-height: 23px;
    font-size: 18px;
}

.coder{
    filter: blur(10px);
    width: 60%;
    margin-left: 20px;
}

.coder.show{
    animation: slidetoRight 1.5s ease forwards;
}

@keyframes slidetoRight{
    0%{
        filter: blur(10px);
        transform: translateX(-100%);
    } 50%{
        filter: blur(0);
        transform: translateX(0%);
    } 100%{
        filter: blur(0);
        transform: translateX(0%);
    }
}

.coder h1{
    font-size: 35px;
    margin-bottom: 10px;
    text-align: center;
}

.coder p{
    line-height: 23px;
    font-size: 18px;
}

.slider{
    width: 60%;
    margin-top: 30px;
    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( (20s / 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 (phase 5) */
.contact-section{
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: none;
    justify-content: center;
    gap: 10%;
    align-items: center;
    position: relative;
    z-index: 20;
    flex-direction: column;
}

.form{
    display: flex;
    width: 400px;
    flex-direction: column;
    margin-top: 30px;
    align-items: center;
}

.form label{
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
} 

.contact-box{
     width: 100%;
    top: 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-box .info{
    font-size: 20px;
    font-weight: 550;
    max-width: 650px;
    text-align: center;
    margin-top: 50px;
}

.contact-box input, .contact-box textarea{
    border: 3px solid #ffffff;
    border-radius: 5px;
    height: 50px;
    line-height: normal;
    color: rgba(0,0,69,0.708);
    display: block;
    width: 100%;
    box-sizing: border-box;
    user-select: auto;
    font-size: 16px;
    padding: 0 6px;
    padding-left: 12px;
    margin-top: 5px; 
    font-weight: bold;        
}

.contact-box textarea{
    height: 100px;
    min-width: 100%;
    min-height: 150px;
}

.contact-box input:focus, .contact-box textarea:focus{
    border: 3px solid rgba(0,0,69,0.708);;
}

.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;
    font-size: 17px;
    margin-bottom: 50px;
}

.contact-box button:hover{
    opacity: 0.8;
    box-shadow: 0 0 30px #72a1de81;
}

#form-status{
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

#form-status.success{
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green */
}

#form-status.error{
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red */
}

/* Footer */
.footer{
    display: none;
    justify-content: space-between;
    position: relative;
    bottom: 0;
    right: 0;
    left: 0;
    height: 60px;
    width: 100%;
    padding: 0 3rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0 0 15px #72a1dea2;
    z-index: 999;
}

@media screen and (max-width: 1200px) and (min-width: 600px){
    .cursor, .cursor-follower{
        display: none;
    }
    /* Nav bar */
    header ul{
        padding: 12px 10px;
        width: 45%;
        min-width: 400px;
        background-color: transparent;
        box-shadow: none;
    }
    .box-icons{
        display: none;
    }
    /* Info Section */
    .card{
        height: 48vh;
    }
    .info-cards{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .card.card:nth-child(3), .card:nth-child(4){
        height: 40vh;
    }
    .card:nth-child(3){
        display: flex;
        flex-direction: row;
        grid-column: span 2;
    }
    .card:nth-child(3) .info-content{
        align-self: center;
        padding-left: 0;
    }
    .card:nth-child(3) img{
        width: 40%;
        margin-bottom: 0;
    }
    /* Skill Section */
    .skills-content{
        flex-direction: column;
        margin-top: 30px;
    }
    .skills-image{
        width: 50%;
        order: 1;
    }
    .Designer{
        order: 2;
        text-align: center;
        width: 80%;
        max-width: 900px;
    }
    .coder{
        order: 3;
        margin-left: 0px;
        margin-top: 30px;
        text-align: center;
        width: 80%;
        max-width: 900px;
    }
    .slider{
        margin-top: 100px;
        width: 80%;
    }
    /* Project Section */
    .project-content{
        margin-top: 10px;
    }
    .project-card{
        display: flex;
        flex-direction: column;
        align-content: center;
    }
    .project-vidbox{
        width: 60%;
        align-self: center;
    }
    .project-info{
        width: 100%;
        align-self: center;
        max-width: 1000px;
        text-align: center;
        padding: 0 5%;
    }
    .project-info h1{
        margin-top: 20px;
        align-self: center;
    }
    .project-info p{
        margin-top: 20px;
    }
    .project-btns{
        align-self: center;
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px){
    .loader-text{
        font-size: 5vw;
    }
    .loader-bar{
        width: 250px;
    }
    .menu-icon{
        display: inline;
    }
    .cursor, .cursor-follower{
        display: none;
    }
    /* Nav bar */
    header{
        position: fixed;
        height: 45px;
    }
    header ul, .box-icons{
        display: none;
    }
    .head-name, .menu-icon{
        font-size: 20px;
    }
    /* Hero Section */
    .hero-info-title{
        width: 80vw;
        padding: 9px 9px;
        text-align: center;
    }
    .hero-info-h1{
        line-height: 12vw;
        font-size: 12vw;
    }
    .hero-info-p{
        font-size: 4vw;
        margin-top: 40px;
        line-height: 5vw;
    }
    .hero-info-btn{
        padding: 12px 30px;
        font-size: 12px;
    }
    .scroll-down{
        transform: scale(0.8);
        left: 45%;
    }
    /* Info Section */
    .section-title{
        font-size: 7vw;
        margin-top: 20px;
    }
    .info-cards{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .card{
        width: 90vw;
        height: 45vh;
    }
    .card:nth-child(4){
        flex-direction: column;
        height: 47vh;
    }
    .card:nth-child(4) img{
        transform: scale(1.5);
        margin-top: 10px;
    }
    .card:nth-child(4) .info-content{
        padding: 5%;
    }
    .card:nth-child(3){
        height: 70vh;
    }
    .card:nth-child(3) img{
        margin-bottom: 10px;
        max-width: 400px;
    }
    .card h1{
        bottom: 30%;
        font-size: 1.2rem;
    }
    .card p{
        font-size: 1rem;
    }
    /* Project Section */
    .project-content{
        margin-top: 0px;
    }
    .project-card{
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }
    .project-vidbox{
        display: flex;
        width: 90%;
        min-width: 70vw;
        align-self: center;
    }
    .project-info{
        width: 95%;
        padding-left: 0px;
        margin-top: 30px;
        gap: 10px;
        display: flex;
        align-self: center;
    }
    .project-info h1{
        width: 100%;
        font-size: 1.4rem;
        text-align: center;
        text-wrap: nowrap;
    }
    .project-info p{
        font-size: 1rem;
        text-align: center;
    }
    .project-info button{
        display: flex;
        align-self: center;
        margin-top: 15px;
        padding: 12px 30px;
    }
    .project-btns{
        align-self: center;
        margin-top: 0px;
    }
    /* Skill Section */
    .skills-content{
        flex-direction: column;
        margin-top: 30px;
    }
    .skills-image{
        width: 70%;
        order: 1;
    }
    .Designer{
        order: 2;
        text-align: center;
        width: 90%;
        margin-top: 20px;
    }
    .coder{
        order: 3;
        margin-left: 0px;
        margin-top: 40px;
        text-align: center;
        width: 90%;
    }
    .Designer h1{
        font-size: 1.5rem;
    }
    .Designer p{
        font-size: 1rem;
    }
    .coder h1{
        font-size: 1.5rem;
    }
    .coder p{
        font-size: 1rem;
    }
    .slider{
        width: 100%;
        margin-top: 100px;
    }
    .slider .list .item{
        height: 70px;
        width: 70px;
    }
    /* Contact Section */
    .contact-box .info{
        font-size: 1rem;
        max-width: 90vw;
    }
    .form{
        width: 70vw;
    }
    .form label{
        font-size: 0.9rem;
    }
    .contact-box input, .contact-box textarea{
        width: 100%;
        height: 40px;
        font-size: 0.9rem;
    }
    .contact-box textarea{
        height: 120px;
        max-width: 100%;
    }
    .contact-box button{
        padding: 12px 30px;
        font-size: 1rem;
    }
    /* Footer */
    .footer{
        height: 120px;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .footer-icon{
        display: flex;
        flex-direction: row;
    }
    #scrollToTopBtn{
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}