body {
    width: 100vw;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    position: relative;     
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    background-color: #001f7c38;
}


.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: overlay;
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}


header {
    display: flex;
    position: absolute;
    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.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;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.326);
    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;
    text-decoration: none;
    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 a: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: center;
}


.hero-info h1 {
    font-size: 6rem;
    max-width: 600px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info h2 {
    font-size: 3rem;
}

.hero-info p {
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

.btn-grp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.hero-info a {
    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;
    text-decoration: none;
}

.hero-info a: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%;
    }
}


.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 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 lightgray;
    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;
    }
}





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



.my-project {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80%;
    height: 100vh;
    margin-top: 200px;
    margin-bottom: 700px;
}

.project-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    align-items: center;
    gap: 10%;
    justify-content: center;
}

.project-vidbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    mix-blend-mode: exclusion;
    position: relative;
    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-card img: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: 25px;
    font-weight: bold;
    text-wrap: nowrap;
    margin-top: 0;
    margin-bottom: 10px;
    max-width: 450px;
}

.project-info p {
    max-width: 400px;
    min-width: 300px;
    margin-bottom: 50px;
    margin-top: 0;
}

.project-info a {
    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;
    text-decoration: none;
}

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


/* SLIDER  */

.slider {
    position: absolute;
    bottom: 5%;
    right: 20%;
    width: 60%;
    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 {
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
    position: relative;
}

.social-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-box a {
    color: lightgray;
    text-decoration: none;
    font-size: 20px;
    text-wrap: nowrap;
}

.social-box i {
    color: #7668ff;
    font-size: 30px;
    margin-right: 10px;
}

.social-icons a i {
    color: white;
    margin-top: 40px;
}

.contact-box p {
    max-width: 400px;
    margin-top: 30px;
    margin-bottom: 5px;
}

.contact-box input,
.contact-box textarea {
    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;
}


/* 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);
    }
}

/* Sidebar */

.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 {
    text-decoration: none;
    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 (min-aspect-ratio: 16/9) {
    .back-vid {
        width: 100%;
        height: auto;
    }
}


@media screen and (max-width: 1200px) {
    .hero-info{
        scale: 1;
    }
    .blackhole-box video {
        margin-top: -20%;
    }

    .hero-info h1 {
        font-size: 40px;
        max-width: 400px;
    }

    .hero-info h2 {
        font-size: 28px;
    }

    .hero-info P {
        max-width: 300px;
    }


    .my-project {
        margin-bottom: 200px;
        /* scale: 0.8; */
    }

    .contact-section .section-title {
        left: 30%;
    }
}

@media (max-aspect-ratio: 4/3)  {
        .hero-info{
            scale: 2;
        }
    }


@media screen and (max-width: 770px) {
    .container{
        overflow-x: hidden;
    }

    header {
        position: fixed;
        height: 50px;
    }

    header ul {
        display: none;
    }

    header .box-icons {
        display: none;
    }

    .menu-icon {
        display: inline;
    }

    .blackhole-box video {
        width: 100%;
        margin-top: -20%;
    }

    .autoBlur {
        animation: none;
    }

    .hero {
        flex-direction: column;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;

    }
    .hero-info{
        scale: 1.5;
    }

    .hero-info {
        bottom: 5%;
    }

    .scroll-down {
        bottom: 5%;
    }
    .about-description{
        text-align: left;
    }
    .container {
        height: 100%;
    }
    .my-project{
        padding: 12px;
    }

    .project-vidbox img {
        width: 600px;
    }

    .project-info h1 {
        font-size: 28px;
        text-wrap: wrap;
    }

    .project-info p {
        max-width: 100%;
        font-size: 20px;
        text-wrap: wrap;
        min-width: 0;
    }

    .project-info button {
        padding: 5px 10px;
    }


    .project-card {
        flex-direction: column;
        gap: 30px;
    }


    .project-info {
        width: 100%;
    }

    .project-info h1 {
        text-wrap: nowrap;
    }



    .slider .list .item img {
        width: 70%;
    }

    .contact-section {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .social-box {
        margin-left: -90px;
    }
}

@media screen and (max-width: 480px) {


    .blackhole-box {
        overflow: hidden;
    }


    .blackhole-box video {
        width: 140%;
        margin-top: -27%;

    }

    .left {
        scale: 0.9;
        margin-left: -30px;
    }

    .left h2 {
        font-size: 20px;
    }

    .hero {
        scale: 0.8;
        text-align: center;
    }
    .hero-info{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .hero-info h1, .hero-info h2{
        line-height: 10px;
        text-align: center;
    }
    .btn-grp{
        flex-direction: column;
    }
    .btn-grp a{
        width: 80%;
    }

    .project-vidbox{
        width: 100%;
    }
    .project-vidbox img{
        width:84%;
    }
    .fadein-left{
        transform:none !important;
        filter:none !important;
        opacity: 1 !important;
    }
    .project-info{
        padding-left: 0;
    }
    .project-info h1 {
        font-size: 22px;
    }
    .project-info p {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .section-title {
        font-size: 25px;
    }


    .slider {
        bottom: 0%;
    }

    .contact-section {
        scale: 0.9;
    }

    .contact-section .section-title {
        top: -30px;
        left: 25%;
    }


}













/* Base Section */
#about {
    color: white;
    /* padding: 100px 20px; */
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

/* Container */
.about-container {
    max-width: 1024px;
    margin: auto;
    padding: 48px;
}

/* Heading */
.about-title {
    font-size: 2.8rem;
    font-weight: bold;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Description */
.about-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Buttons */
.about-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats Cards */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Individual Stat Card */
.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
}

.stat-card:hover {
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

/* Icon Circle */
.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.stat-icon {
    font-size: 1.2rem;
    color: #93c5fd;
}

/* Info */
.stat-info {
    flex-grow: 1;
    margin-right: auto;
}

.stat-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.stat-sub {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Number */
.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: #93c5fd;
}

/* skills section */
.skills-section {
    width: 80%;
    /* padding: 100px 40px; */
    text-align: center;
}

.skills-heading {
    font-size: 2.8rem;
    font-weight: bold;
}



.skills-subtext {
    margin: 10px 0 40px;
    font-size: 1rem;
    color: #aaa;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.category-tabs button {
    padding: 8px 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.category-tabs .active {
    background: #9333ea;
    border-color: #9333ea;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-card {

    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 20px;
    text-align: left;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #aaa;
    margin: 4px 0;
}

.bar {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #333;
    margin-bottom: 10px;
}

.fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, #ec4899, #9333ea);
}

.desc {
    font-size: 0.85rem;
    color: #888;
}


textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
    resize: vertical;
}
.contact{
    padding-top: 60px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}