@font-face {
    font-family: neu-china;
    src: url(../Fonts/NeueMachina-Light.otf);
}

@font-face {
    font-family: neu-china-n;
    src: url(../Fonts/NeueMachina-Regular.otf);
}

@font-face {
    font-family: neu-china-b;
    src: url(../Fonts/NeueMachina-Ultrabold.otf);
}

* {
    margin: 0;
    padding: 0;
    font-family: "kanit", sans-serif;
}

:root {
    --main-bg-color: #121212;
    --secondary-bg-color: #1a1a1a;
    --alt-bg-color: #080808;
    --accent-bg-color: #0e0e0e;
    --main-color: rgb(255, 81, 0);
    --links: rgb(164, 164, 164);
    --accent-color: #ff9969;
    --mid-color: #ff631b;
    --font-color: #FFF5EE;
}

body {
    font-family: "kanit", sans-serif;
    background: var(--secondary-bg-color);
    color: #fff;
}

.based {
    background: transparent;
    background-size: 10%;
    backdrop-filter: blur(15px);
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loadimg {
    width: 150px;
    opacity: 1;
    border-radius: 50%;
}

.content {
    display: none;
    opacity: 0;
}

.loaded .content {
    display: block;
    opacity: 1;
}


.links {
    color: var(--links);
    text-decoration: none;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 1rem 0px;
    background-color: transparent;
    backdrop-filter: blur(5px);
    z-index: 100;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    text-decoration: none;
    color: rgb(255, 81, 0);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
    padding-left: 4%;
    opacity: 0;
    animation: entry 1s ease infinite forwards;
}

.Knax {
    margin: 0;
    overflow: hidden;
    /* Prevents scrollbars during animation */
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Centered and large initial logo style */
.knaxlogo {
    display: none;
    font-size: 32px;
    color: rgb(255, 81, 0);
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    /* Centered and zoomed-in */
    transition: transform 1s ease, top 1s ease, left 1s ease, font-size 0.5s ease;
    animation: fade-in 1s ease forwards;
}

/* Final top-left position */
/* Final top-left position */
.knaxlogo.top-left {
    font-size: 32px;
    top: 5.5%;
    left: 6.5%;
    transform: translate(0, 0) scale(1);
    /* Moves to top-left */
}

@media (max-width: 600px) {
    .knaxlogo.top-left {
        left: 10%;
    }
}

@media (max-width: 450px) {
    .knaxlogo.top-left {
        left: 15%;
    }
}

@media (max-width: 300px) {
    .knaxlogo.top-left {
        left: 18%;
    }
}

/* Zoom-out animation */
@keyframes zoomOut {
    0% {
        transform: translate(-50%, -50%) scale(10);
        /* Start large in center */
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        /* End at normal size */
    }
}


.logo:hover {
    scale: 1.1;
}

nav {
    position: relative;
    right: 4%;
    text-decoration: none;
    width: fit-content;
    transition: all .3s ease;
}

.menu {
    text-decoration: none;
    color: #fff;
    width: fit-content;
    margin-left: 35px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    opacity: 0;
    animation: slide-top .4s ease forwards;
    animation-delay: calc(.1s * var(--i));
}

nav a:hover,
nav a.menu-active {
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

.bar {
    display: none;
    position: relative;
    padding-right: 4%;
    height: 32px;
    width: 32px;
}

.bar .nav-menu,
.bar .nav-close {
    display: none;
    color: var(--main-color);
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.bar .nav-close {
    font-size: 1.5rem;
    opacity: 0;
}

@media (max-width: 995px) {

    .bar,
    .bar .nav-menu,
    .bar .nav-close {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        border-left: 3px solid var(--accent-color);
        border-bottom: 3px solid var(--accent-color);
        border-bottom-left-radius: 20px;
        padding: 1rem 3%;
        background-color: var(--main-bg-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.7);
        display: none;
        transform: translateY(-80%);
        transition: all.3s ease;
    }

    nav .menu-active {
        display: block;
    }

    nav a {
        display: block;
        margin: 30px 0;
    }

    .menu {
        font-size: 20px;
        width: 80%;
        font-weight: 400;
    }

    nav a:hover,
    nav a.menu-active {
        color: var(--accent-color);
        padding-bottom: 2px;
        border-bottom: 2px solid var(--accent-color);
    }
}

.show-menu {
    display: block;
    pointer-events: initial;
    transform: translateY(0%);
    filter: blur(0%);
    transition: transform .3s ease, filter .3s;
}

.show-icon .nav-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav-close {
    opacity: 1;
    transform: rotate(90deg);
}

.section {
    min-height: fit-content;
    padding: 2rem 6%;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    padding-top: 100px;
    padding-bottom: 50px;
}

.home-content {
    padding-left: 3rem;
}

.home .home-content h1 {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 4rem;
    margin-left: -3px;
    opacity: 0;
}

.active .home-content h1 {
    opacity: 0;
    animation: slide-right-s 1s ease forwards;
    animation-delay: 1s;
}

.home-image {
    border-radius: 50%;
}

.home-image img {
    border-radius: 50%;
    position: relative;
    width: 38vw;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 0;
}

.active .home-image img {
    opacity: 0;
    animation: zoom-in 1s ease forwards;
    animation-delay: 500ms;
}

.home-content span {
    background: linear-gradient(90deg, #ff631b, #ff9969);
    background-clip: text;
    color: transparent;
}

.home-image img:hover {
    scale: 1.01;
    box-shadow: 0 0 60px var(--main-color);
}

.home-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 2.5rem;
    opacity: 0;
}

.active .home-content h3 {
    opacity: 0;
    animation: slide-left-s 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 span {
    color: var(--main-color);
}

.typing-text {
    font-weight: 300;
    min-width: 280px;
    overflow: hidden;
}

.typing-text span {
    position: relative;
    overflow: hidden;
}

.typing-text span::before {
    content: "";
    height: 40px;
    width: 2px;
    position: absolute;
    top: 50%;
    right: -8px;
    background: #BD53ED;
    transform: translateY(-45%);
    animation: blink 0.7s infinite;
}

/* h1 span.stop-blinking::before {
    animation: none;
} */

@keyframes blink {
    50% {
        opacity: 0
    }
}

.home-content p {
    font-size: 1.08rem;
    font-weight: 300;
    position: relative;
    padding-bottom: 15px;
    opacity: 0;
}

.active .home-content p {
    opacity: 0;
    animation: slide-bottom-s 1s ease forwards;
    animation-delay: 1s;
}

.home-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    background: transparent;
    border: 2.5px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 0.5rem 0.8rem 1rem 0;
    transition: 0.3s ease;
    text-decoration: none;
    opacity: 0;
}


.active .home-social a {
    opacity: 0;
    animation: slide-left 1s forwards;
    animation-delay: calc(200ms * var(--i));
}

.home-social a:hover {
    scale: 1.3;
    translate: 0px -7px;
    color: var(--secondary-bg-color);
    background: var(--mid-color);
    box-shadow: 0 0 15px var(--main-color);
}

.home-content button {
    display: inline-block;
    min-width: 30px;
    margin: 0.5rem 0 1rem 0;
    padding: 0.5rem 1.5rem;
    background: var(--bg-color);
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
    opacity: 0;
}

.active .home-content button {
    animation: slide-bottom-s 1s forwards;
    animation-delay: 2s;
}

.home-content button:hover {
    background: var(--mid-color);
    color: var(--secondary-bg-color);
    scale: 1.1;
    box-shadow: 0 0 15px var(--main-color);
}

/* Work Section */
.work {
    overflow: hidden;
    position: relative;
    min-height: fit-content;
}

.work .work-con {
    width: 100%;
    padding: 60px 0;
    position: relative;
    min-height: fit-content;
    display: flex;
    gap: 30px;
    flex-direction: row;
}

.work-con .wo-left {
    width: 33.33%;
}

.wo-name {
    font-size: 12px;
    font-weight: 300;
    color: var(--accent-color);
}

.wo-l-headings .wo-heading {
    font-size: 44px;
    line-height: 46px;
    font-family: neu-china-b;
    color: var(--font-color);
}

.wo-l-headings .wo-para {
    padding-top: 10px;
    font-size: 17px;
    color: var(--accent-color);
    font-weight: 300;
    line-height: 22px;
}

.wo-left .wo-l-cat {
    padding-top: 20px;
}

.wo-l-cat .wo-cat-block {
    display: inline-block;
    padding: 3px 20px;
    font-size: 20px;
    border-left: 3px solid var(--mid-color);
    border-right: 3px solid var(--mid-color);
    color: var(--font-color);
}

.wo-l-cat ul {
    padding-top: 20px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    row-gap: 10px;

}

.wo-l-cat ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wo-l-cat ul li img {
    width: 20px;
    height: 20px;
    padding: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 100%;
    background-color: var(--accent-color);
    box-shadow: -3px 3px 0 var(--mid-color);
}

.wo-l-cat ul li a {
    text-decoration: none;
    color: #ff6c27;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 400;
    font-size: 18px;
}

.work-con .wo-mid {
    width: 33.33%;
}

.wo-mid .wo-img {
    width: 100%;
    height: 100%;
    background: url(../Media/Works/tp\ file.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
}

.work-con .wo-right {
    width: 33.33%;
    position: relative;
}

.wo-know {
    padding-top: 5px;
    color: var(--font-color);
    font-size: 36px;
    font-family: neu-china-b;
    line-height: 36px;
}

.wo-r-headings .wo-para {
    padding: 5px 0px 20px 0px;
    font-size: 17px;
    color: var(--accent-color);
    font-weight: 300;
    line-height: 22px;
}

.wo-about {
    color: #ff7637;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 400;
    font-family: neu-china-b;
}

.wo-crafter {
    padding-top: 20px;
}

.wo-crafter p {
    font-size: 12px;
    color: var(--font-color);
    font-weight: 200;
}

.wo-crafter h1 {
    font-size: 24px;
    color: var(--mid-color);
    font-weight: 400;
    line-height: 24px;
    font-family: neu-china-b;
}

.wo-r-exp {
    padding-top: 10px;
}

.wo-r-exp .wo-exp-head {
    padding-top: 10px;
}

.wo-exp-head h1 {
    font-size: 32px;
    font-weight: 500;
    font-family: neu-china-n;
    background: linear-gradient(180deg, #ff631b, #ff9969);
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.wo-exp-head h2 {
    font-size: 16px;
    font-weight: 400;
    color: var(--font-color);
}

/* Service Section */

.service {
    overflow: hidden;
    background: var(--alt-bg-color);
    position: relative;
    height: fit-content;
    padding: 2rem 6%;
}

.service .se-headings {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.se-headings .se-shape {
    height: 100px;
    width: 70px;
    background: var(--mid-color);
    filter: blur(0px);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: -50px;
}

.se-headings .se-head {
    font-size: 2rem;
    font-weight: 600;
    color: var(--font-color);
    position: relative;
    right: 30px;
    top: -10px;
}

/* .active .service-title {
    opacity: 0;
    animation: slide-bottom-s 700ms ease forwards;
    animation-delay: 0ms;
} */

.se-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 90px;
}

.s-container {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--alt-bg-color);
    border-radius: 20px;
    padding: 25px 30px;
    transition: 0.3s ease;
    opacity: 0;
}

.active .s-container {
    animation: slide-right 900ms forwards;
    animation-delay: calc(200ms * var(--i));
    opacity: 0;
}

.s-container h3 {
    text-align: center;
    font-size: 1.3rem;
}

.s-container p {
    padding-top: 10px;
    font-size: 1rem;
}

.s-container:hover {
    background: var(--alt-bg-color);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    scale: 1.05;
    cursor: pointer;
    box-shadow: 0 0 15px var(--main-color);
}

/* skill Section */

.sk {
    position: relative;
    height: 100vh;
    padding: 0;
    overflow: hidden;
}

.sk .sk-dna {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}

.sk-set {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.sk-set .sk-top {
    width: 100%;
    height: 50%;
}

.sk-set .sk-bottom {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.sk-info {
    height: fit-content;
    width: fit-content;
    padding: 0 5px;
    backdrop-filter: blur(3px);
    border-radius: 12px;
}

.sk-icon {
    padding-top: 5px;
}

.sk-1 {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 60px;
    right: 40px;
}

.sk-2 {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    right: -300px;
    top: 180px;
    overflow: hidden;
}

.sk-2 .sk-arrow {
    rotate: -90deg;
}

#sk-alt {
    width: 45px;
}

.sk-3 {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 60px;
    right: -65px;
}

.sk-3 .sk-arrow {
    rotate: -90deg;
}

.sk-info h1 {
    font-size: 18px;
    font-weight: 500;
    font-family: neu-china-b;
    color: var(--accent-color);
}

.sk-icon ul {
    display: flex;
    list-style-type: none;
    gap: 10px;
}

.sk-icon ul li img {
    width: 25px;
    height: 25px;
}

.sk-arrow {
    mix-blend-mode: screen;
    object-fit: cover;
    width: 40px;
    rotate: 90deg;
}



@media (min-width: 2500px) {
    header .bar {
        font-size: 2.5rem;
    }

    header .logo {
        font-size: 3.5rem;
    }

    header nav .menu {
        font-size: 1.9rem;
        margin-right: 10px;
    }

    header {
        padding-top: 30px;
    }

}

.contact {
    display: flex;
    height: fit-content;
    background: linear-gradient(90deg, #ff99698a, #080808 35%);
    gap: 60px;
    overflow: hidden;
}

.contact .co-left {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.co-left .co-headings {
    rotate: -90deg;
    text-align: center
}

.co-headings h2 {
    font-size: 38px;
    color: var(--accent-color);
    line-height: 38px;
    font-weight: 500;
}

.co-headings h1 {
    font-size: 240px;
    color: var(--mid-color);
    line-height: 180px;
    font-weight: 600;
}

.contact .co-right {
    width: 80%;
    height: 100%;
}

.co-right form {
    padding: 40px 40px 40px 40px;
}

.input-box .i {
    width: 44.5%;
}

.input-box input {
    background: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid var(--main-color);
    text-decoration: none;
    box-shadow: none;
    padding: 10px 0;
    margin-left: 5%;
    margin-top: 3%;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 400;
}

.input-box input::placeholder {
    color: var(--accent-color);
}

form textarea {
    margin-left: 5%;
    background: none;
    border: none;
    border-bottom: 2px solid var(--main-color);
    margin-top: 3%;
    width: 94.5%;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 400;

}

form textarea::placeholder {
    color: var(--accent-color);
}

form .c-btn {
    margin-top: 25px;
    background: none;
    border: 2px solid var(--main-color);
    padding: 10px 25px;
    color: var(--accent-color);
    margin-left: 5%;
    font-size: 18px;
    font-weight: 400;
}

/* .active .c-title {
    opacity: 0;
    animation: slide-bottom-s 700ms forwards;
} */

/* why-Us Section */

.whyus {
    background: var(--accent-bg-color);
    height: fit-content;
    padding: 2rem 9%;
}

.w-title {
    text-align: center;
    font-size: 3rem;
    opacity: 0;
    padding: 0px 0px 30px 0px;
}

.active .w-title {
    opacity: 0;
    animation: slide-bottom 700ms forwards;
}

.w-title span {
    color: var(--main-color);
}

.w-container {
    background: rgba(245, 130, 59, 0.464);
    display: flex;
    justify-content: space-between;
    padding: 80px 40px;
    border-radius: 15px;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    opacity: 0;
}

.active .w-container {
    opacity: 0;
    animation: zoom-in 700ms forwards;
    animation-delay: 500ms;
}

.w-headline {
    display: flex;
    font-size: 1.5rem;
    align-items: center;
    width: 50%;
    opacity: 0;
}

.active .w-headline {
    opacity: 0;
    animation: slide-right-c 700ms forwards;
    animation-delay: 1s;
}

@keyframes slide-right-c {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.w-reason {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.r {
    opacity: 0;
}

.active .r:nth-child(1) {
    opacity: 0;
    animation: slide-top 700ms forwards;
    animation-delay: 1.5s;
}

.active .r:nth-child(2) {
    opacity: 0;
    animation: slide-top 700ms forwards;
    animation-delay: 1.7s;
}

.active .r:nth-child(3) {
    opacity: 0;
    animation: slide-top 700ms forwards;
    animation-delay: 1.9s;
}

.active .r:nth-child(4) {
    opacity: 0;
    animation: slide-top 700ms forwards;
    animation-delay: 2.1s;
}

.w-reason span {
    background-color: var(--main-color);
    padding: 15px 50px;
    font-size: 1.3rem;
    border-radius: 5px;
    box-shadow: 0px 0px 7px var(--bg-color);
    transition: .3s ease;
}

.w-reason span:hover {
    translate: -25px 0px;
}

@media (max-width: 800px) {
    .w-reason span:hover {
        translate: 0px 0px;
        scale: 1.2;
    }
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--main-color);
}

.footer .social {
    text-align: center;
    padding-bottom: 23px;
    color: var(--main-bg-color);
}

.footer .social a {
    font-size: 25px;
    color: var(--main-bg-color);
    border: 2px solid var(--main-bg-color);
    width: 45px;
    height: 17px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
    padding-top: 5px;
    text-decoration: none;
}

.footer .social a:hover {
    transform: scale(1.1) translateY(-3px);
    background: var(--main-bg-color);
    color: var(--main-color);
}

.footer ul {
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
}

.footer ul li a {
    color: var(--main-bg-color);
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
    text-decoration: none;
}

.footer ul li a:hover {
    border-bottom: 3px solid var(--main-bg-color);
}

.footer ul li {
    display: inline-block;
    padding: 0 15px;
}

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--main-bg-color);
    margin-bottom: -20px;
}

@media(max-width: 900px) {
    .footer {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .footer {
        width: 100%;
    }

    .footer .social {
        padding-bottom: 33px;
        padding-top: -2px;
    }

    .footer .social a {
        font-size: 19px;
        width: 35px;
        height: 1px;
    }

    .footer ul {
        font-size: 15px;
        margin-top: -15px;
    }

    .footer .copyright {
        margin-top: 15px;
        margin-bottom: -20px;
        font-size: 12px;
        color: var(--bg-color);
    }

    .w-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 50px 40px 60px 40px;
    }

    .w-headline {
        width: fit-content;
        margin: auto;
        padding-bottom: 15px;
        font-size: 1.1rem;
    }

    .w-reason {
        padding-top: 15px;
        width: 100%;
        display: flex;
        text-align: center;
        align-items: center;
    }

    .w-reason span {
        width: 305px;
        font-size: 1.1rem;

    }

    .w-reason span:hover {
        scale: 1.1;
        box-shadow: 0 0 15px var(--bg-color);
    }
}

@media (max-width:700px) {
    .footer {
        width: 100%;
    }

    .footer .social {
        padding-bottom: 30px;
    }

    .w-headline {
        font-size: 1.5rem;
    }

    .w-reason span {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .footer .social {
        padding-bottom: 33px;
        padding-top: -2px;
    }

    .footer .social a {
        position: relative;
        display: inline-flex;
        font-size: 14px;
        border-radius: 50%;
        width: 30px;
        height: 22px;
        justify-content: center;
        padding: 0;
        margin-top: 5px;
        padding-top: 7px;
    }

    .footer ul {
        font-size: 15px;
        margin-top: -15px;
    }

    .footer .copyright {
        margin-top: 15px;
        margin-bottom: -20px;
        font-size: 12px;
        color: var(--main-bg-color);
    }
}

@media (max-width: 520px) {
    .w-reason span {
        width: 220px;
    }

    .w-container {
        padding-bottom: 50px;
    }

    .w-headline {
        font-size: 1.1rem;
    }
}

@media (max-width:500px) {
    .footer {
        width: 100%;
    }

    .t {
        font-size: 1.7rem;
    }
}

@media (max-width: 475px) {
    .w-reason span {
        width: 180px;
        font-size: .92rem;
    }

    .w-container {
        padding-bottom: 50px;
    }
}

@media (max-width:400px) {
    .footer .copyright {
        font-size: 0.6rem;
        margin-bottom: -30px;
    }

    .footer ul li {
        font-size: 0.7rem;
        padding: 0px 5px;
    }

    .footer .social a {
        position: relative;
        display: inline-flex;
        font-size: 12px;
        border-radius: 50%;
        width: 25px;
        height: 18px;
        justify-content: center;
        padding: 0;
        padding-top: 7px;
        margin: 0px 6px;
        margin-top: -8px;
    }

    .w-headline {
        font-size: 1.2rem;
    }
}

@media (max-width: 370px) {
    .w-headline {
        font-size: 1.1rem;
    }

    .w-reason span {
        padding: 10px 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 350px) {
    .s-container h3 {
        font-size: 20px;
    }

    .s-container p {
        font-size: 17px;
    }

    .w-headline {
        font-size: 1rem;
    }

    .w-reason span {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .t {
        font-size: 1.5rem;
    }

    .whyus .w-title {
        font-size: 1.5rem;
    }
}

@media (max-width:300px) {
    .footer .social a {
        margin: 0px 4px;
    }

    .footer {
        padding-top: 25px;
    }

    .footer ul {
        margin-top: -20px;
    }

    .w-headline {
        font-size: 0.85rem;
    }

    .w-reason span {
        padding: 8px 7px;
        font-size: 0.7rem;
    }

}

.success-popup {
    display: none;
    position: fixed;
    width: fit-content;
    right: 1%;
    bottom: 10%;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    padding: 10px 17px;
    opacity: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(5px);
    transition: .3s ease 1s;
}

.display-pop {
    opacity: 0;
    display: block;
    animation: in-out 7s forwards;
}

.close-pop {
    opacity: 1;
    display: none;
    animation: out 1s forwards;
}

.pop-msg {
    font-size: 18px;
    font-weight: 400;
    display: inline-block;
}

.pop-close {
    font-size: 14px;
    position: absolute;
    top: 2px;
    right: 4px;
}

.check {
    padding-left: 3px;
    color: green;
}


@media (max-width: 800px) {
    .t {
        font-size: 2rem;
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-100%);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-left {
    0% {
        transform: translateX(100%);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-top {
    0% {
        transform: translateY(-100%);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-bottom {
    0% {
        transform: translateY(100%);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes zoom-in {
    0% {
        transform: scale(0);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-right-s {
    0% {
        transform: translateX(-100px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-left-s {
    0% {
        transform: translateX(100px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-top-s {
    0% {
        transform: translateY(-100px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-bottom-s {
    0% {
        transform: translateY(100px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes zoom-out {
    0% {
        transform: scale(5);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes in-out {
    0% {
        opacity: 0;
        transform: translateX(100px);
        filter: blur(5px);
    }

    10% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    90% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
        filter: blur(5px);
    }
}

@keyframes out {
    0% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
        filter: blur(5px);
    }
}

@keyframes entry {
    0% {
        opacity: 1;
        scale: 1.1;
        display: flex;
    }

    100% {
        opacity: 1;
        scale: 1.1;
        display: flex;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 0;
        filter: blur(5px);
    }
}

@keyframes marque {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Loayout Responsive */

@media (max-width: 1199px) {
    .home .home-content h1 {
        font-size: 3.5rem;
        line-height: 3.7rem;
    }

    .home-content span {
        line-height: 1rem;
    }

    .typing-text span::before {
        height: 32.5px;
    }

    .home-content h3 {
        font-size: 1.7rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-content p {
        font-size: 1rem;
    }

    /* skill section */

    .sk-2 {
        right: -280px;
    }

    /* contact section */

    .co-headings h2 {
        font-size: 32px;
        line-height: 32px;
    }

    .co-headings h1 {
        font-size: 230px;
        line-height: 160px;
    }

}

@media (max-width: 991px) {

    .home .home-content h1 {
        font-size: 3.5rem;
    }

    .home-content h3 {
        font-size: 1.5rem;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .home-content p {
        font-size: 0.9rem;
        padding-bottom: 10px;
    }

    .typing-text span::before {
        height: 30px;
    }

    .home-social a {
        margin-bottom: 0;
        height: 2rem;
        width: 2rem;
        font-size: 1rem;
    }

    .home-social {
        padding-bottom: 10px;
    }

    .home-social a:hover {
        scale: 1.2;
        translate: 0px -5px;
    }

    .home-content button {
        padding: 5px 1.1rem;
        font-size: 1rem;
        font-weight: 500;
    }

    .home-content button:hover {
        scale: 1.1;
    }

    /* Work Section */
    .work .work-con {
        gap: 20px;
        padding: 40px 0;
    }

    .wo-l-headings .wo-heading {
        font-size: 42px;
        line-height: 40px;
    }

    .wo-l-headings .wo-para {
        font-size: 16px;
        line-height: 20px;
    }

    .wo-know {
        padding-top: 0;
        font-size: 32px;
        line-height: 30px;
    }

    .wo-r-headings .wo-para {
        padding-top: 10px;
        font-size: 16px;
        line-height: 20px;
    }

    /* Service */

    .se-content {
        padding-top: 60px;
        gap: 15px;
    }

    .s-container {
        padding: 20px 30px;
    }

    .s-container h3 {
        font-size: 1.1rem;
        line-height: 1.1rem;
    }

    .s-container p {
        font-size: 0.95rem;
        line-height: 18px;
    }

    /* skill section */

    .sk-2 {
        right: -240px;
    }

    .sk-info h1 {
        font-size: 16px;
    }

    .sk-icon ul li img {
        width: 22.5px;
        height: 22.5px;
    }

    /* why section */

    .w-headline {
        font-size: 1.1rem;
    }

    .w-reason span {
        font-size: 1.1rem;
    }

    /* contact section */

    .co-headings h1 {
        font-size: 200px;
        line-height: 140px;
    }

    .co-headings h2 {
        font-size: 28px;
        line-height: 28px;
    }

    .input-box input {
        font-size: 16px;
    }

    form textarea {
        font-size: 16px;
    }

    form .c-btn {
        font-size: 16px;
    }

    .success-popup {
        padding: 5px 14px;
    }

    .pop-msg {
        font-size: 14px;
    }

    .pop-close {
        font-size: 12px;
        top: 1px;
        right: 3px;
    }

    .check {
        padding-left: 0;
    }
}

@media (max-width: 850px) {
    .home {
        padding-top: 100px;
        flex-direction: column;
    }

    .home .home-content {
        padding-top: 2rem;
        padding-left: 0rem;
    }

    .home-image img {
        width: 40vw;
    }
}

@media (max-width: 767px) {
    .home-image img {
        width: 70vw;
    }

    /* work section */
    .work .work-con {
        padding: 0px 0px;
        gap: 10px;
    }

    .wo-name {
        font-size: 11px;
    }

    .wo-l-headings .wo-heading {
        font-size: 34px;
        line-height: 32px;
    }

    .wo-l-headings .wo-para {
        font-size: 14px;
        line-height: 17px;
    }

    .wo-l-cat .wo-cat-block {
        font-size: 16px;
        padding: 0 15px;
    }

    .wo-l-cat ul li img {
        height: 15px;
        width: 15px;
        padding: 7px;
        box-shadow: -2px 2px 0 var(--mid-color);
    }

    .wo-l-cat ul li a {
        font-size: 16px;
        border-bottom: 2px solid var(--accent-color);
    }

    .wo-know {
        font-size: 26px;
        line-height: 24px;
    }

    .wo-about {
        font-size: 17px;
    }

    .wo-exp-head h1 {
        line-height: 28px;
        font-size: 28px;
    }

    .gap {
        padding-top: 10px;
    }

    .wo-exp-head h2 {
        line-height: 16px;
        font-size: 14px;
    }

    .wo-r-headings .wo-para {
        font-size: 14px;
        line-height: 17px;
    }

    /* service */

    .service {
        height: fit-content;
    }

    .se-headings .se-shape {
        height: 70px;
        width: 50px;
    }

    .se-headings .se-head {
        font-size: 1.7rem;
        margin-top: -15px;
        right: 20px;
    }

    .se-content {
        padding-top: 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* skill section */

    .sk-info h1 {
        font-size: 14px;
    }

    .sk-icon ul {
        gap: 5px;
    }

    .sk-icon ul li img {
        width: 20px;
        height: 20px;
    }

    #sk-alt {
        height: 20px;
        width: 40px;
    }

    .sk-1 {
        top: 50px;
        right: 25px;
    }

    .sk-2 {
        right: -220px;
    }

    .sk-3 {
        right: -45px;
    }

    /* Contact */

    .co-headings h2 {
        font-size: 28px;
        line-height: 48px;
    }

    .co-headings h1 {
        font-size: 180px;
        line-height: 140px;
    }

    .co-right form {
        padding-right: 0;
    }

    .input-box .i {
        width: 44.5%;
    }

    .input-box input {
        margin-left: 3%;
        margin-top: 3%;
        font-size: 14px;
    }

    form textarea {
        margin-left: 3%;
        margin-top: 3%;
        width: 94.5%;
        font-size: 14px;
    }

    form .c-btn {
        font-size: 14px;
        padding: 7px 20px;
    }

}

@media (max-width: 670px) {
    .work {
        height: fit-content;
    }

    .work .work-con {
        padding: 0 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: fit-content;
        flex-wrap: wrap;
        gap: 0;
    }

    .work-con .wo-left {
        width: 100%;
        height: 30.5%;
        display: flex;
        padding-bottom: 10px;
    }

    .wo-l-headings {
        width: 60%;
    }

    .wo-l-cat {
        width: 40%;
        text-align: right;
    }

    .wo-l-headings .wo-heading {
        font-size: 32px;
        line-height: 30px;
    }

    .wo-l-headings .wo-para {
        font-size: 15px;
        line-height: 17px;
    }

    .wo-left .wo-l-cat {
        padding: 0;
    }

    .wo-l-cat .wo-cat-block {
        font-size: 14px;
        padding: 0px 10px;
        border-left: 2px solid var(--mid-color);
        border-right: 2px solid var(--mid-color);

    }

    .wo-l-cat ul li img {
        width: 15px;
        height: 15px;
        padding: 5px;
        border: 1px solid var(--accent-color);
        border-radius: 100%;
        background-color: var(--accent-color);
        box-shadow: -2px 2px 0 var(--mid-color);
    }


    .wo-l-cat ul li {
        text-align: right;
    }

    .wo-l-cat ul li a {
        order: -1;
        font-size: 15px;
        text-align: right;
        border-bottom: 1px solid var(--accent-color);
        padding: 0;
        line-height: 18px;
    }

    .work-con .wo-mid {
        width: 100%;
        height: 280px;
    }

    .wo-mid .wo-img {
        height: 100%;
        width: 100%;
    }

    .wo-l-cat ul {
        padding-top: 20px;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        align-items: end;
    }

    .wo-l-cat ul li {
        display: flex;
        gap: 7px;

    }

    .work-con .wo-right {
        width: 100%;
        height: 33%;
        display: flex;
        padding-top: 10px;
    }

    .wo-know {
        padding-top: 0;
        font-size: 32px;
        line-height: 30px;
    }

    .wo-r-headings .wo-para {
        padding: 5px 0;
        font-size: 15px;
        line-height: 17px;
    }

    .wo-about {
        font-size: 18px;
    }

    .wo-r-headings {
        width: 60%;
    }

    .wo-r-exp {
        padding: 0;
        text-align: right;
        width: 40%;
    }

    .wo-r-exp .wo-exp-head {
        gap: 10px;
        padding-top: 0;
    }

    .gap {
        padding-top: 5px;
    }

    .wo-exp-head h1 {
        font-size: 24px;
        line-height: 26px;
    }

    .wo-exp-head h2 {
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;
    }

    .wo-crafter h1 {
        font-size: 18px;
    }


    /* */
    .sk-set {
        display: flex;
    }

    .sk-set .sk-top {
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sk-set .sk-bottom {
        height: 100%;
        width: 50%;
    }

    .sk-1 {
        right: 25px;
        top: 0px;
    }

    .sk-2 {
        right: -250px;
        top: -180px;
    }

    .sk-3 {
        right: -60px;
        top: -20px;
    }
}

@media (max-width: 600px) {
    /* .wo-l-headings .wo-heading{
        line-height: 36px;
    }

    .work-con .wo-left{
        gap: 10px;
    }
    .wo-left .wo-l-headings{
        width: 75%;
    }
    .wo-left .wo-l-cat{
        width: 25%;
    }
    .work-con .wo-right{
        gap: 10px;
    }
    .wo-right .wo-r-headings{
        width: 75%;
    }
    .wo-right .wo-r-exp{
        width: 25%;
    } */
    /* service */

    .se-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .s-container h3 {
        font-size: 1rem;
    }

    .s-container p {
        font-size: 0.85rem;
    }

    /* Skill Section*/

    .sk-2 {
        top: -250px;
        right: -130px;
    }

    .sk-3 {
        top: -135px;
        right: 60px;
    }

    /* Contact section */

    .contact {
        flex-direction: column;
        background: linear-gradient(180deg, #ff99698a, #080808 35%);
        gap: 30px;
    }

    .contact .co-left {
        width: 100%;
        height: 20%;
    }

    .contact .co-right {
        width: 100%;
        height: 80%;
    }

    .co-left .co-headings {
        rotate: 0deg;
    }

    .co-headings h1 {
        font-size: 140px;
        letter-spacing: 30px;
        font-weight: 800;
        text-align: center;
        line-height: 90px;
        margin-left: 3%;
    }

    .co-right form {
        padding: 0px;
    }

    form .c-btn {
        margin-left: 3%;
        padding: 7px 20px;
    }

    .menu {
        font-size: 18px;
        width: 70%;
        font-weight: 400;
    }
}

@media (max-width: 480px) {
    .loadimg {
        width: 100px;
        opacity: 1;
        border-radius: 50%;
    }

    .home {
        padding-bottom: 30px;
    }

    .home .home-content h1 {
        font-size: 2.7rem;
        line-height: 2.8rem;
    }

    .home .home-content h3 {
        font-size: 1.3rem;
    }

    .home .home-content p {
        font-size: 0.8rem;
    }

    .typing-text span::before {
        height: 20px;
    }

    .home-social a {
        margin-bottom: 0;
        height: 1.5rem;
        width: 1.5rem;
        font-size: 0.7rem;
    }

    .home-social {
        padding-bottom: 8px;
    }

    .home-social a {
        border: 1px solid var(--main-color);
    }

    .home-social a:hover {
        scale: 1.2;
        translate: 0px -3px;
    }

    .home-content button {
        padding: 3px 0.8rem;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid var(--main-color);
    }

    /* work section*/

    .work {
        min-height: fit-content;
    }

    .wo-name {
        font-size: 10px;
    }

    .wo-l-headings .wo-heading {
        font-size: 30px;
        line-height: 28px;
    }

    .wo-l-headings .wo-para {
        font-size: 13px;
        line-height: 15px;
    }

    .wo-l-cat .wo-cat-block {
        font-size: 13px;
        padding: 0 10px;
    }

    .wo-l-cat ul li a {
        font-size: 12px;
        line-height: 15px;
        border-bottom: 1px solid var(--accent-color);
    }

    .wo-l-cat ul li img {
        padding: 4px;
        height: 13px;
        width: 13px;
        box-shadow: -1.5px 1.5px 0 var(--mid-color);
    }

    .work-con .wo-mid {
        width: 100%;
        height: 220px;
    }

    .wo-know {
        font-size: 26px;
        line-height: 24px;
    }

    .wo-r-headings .wo-para {
        font-size: 13px;
        line-height: 15px;
        padding-bottom: 15px;
    }

    .gap {
        padding-top: 5px;
    }

    .wo-exp-head h1 {
        font-size: 22px;
    }

    .wo-exp-head h2 {
        font-size: 12px;
        font-weight: 400;
        line-height: 10px;
    }

    .wo-crafter {
        padding-top: 10px;
    }

    .wo-crafter p {
        font-size: 10px;
    }

    .wo-crafter h1 {
        font-size: 15px;
        line-height: 15px;
    }





    /* service */

    .se-content {
        gap: 7px;
    }

    .se-headings .se-shape {
        height: 55px;
        width: 40px;
    }

    .se-headings .se-head {
        font-size: 1.4rem;
        margin-top: -20px;
        right: 20px;
    }

    .s-container {
        padding: 15px 20px;
    }

    .s-container h3 {
        font-size: 0.95rem;
    }

    .s-container p {
        font-size: 0.80rem;
    }

    /* skill section */
    .sk-1 {
        gap: 25px;
    }

    .sk-2 {
        top: -230px;
        right: -80px;
    }

    .sk-3 {
        top: -80px;
        right: 0px;
        gap: 25px;
    }

    .sk-info h1 {
        font-size: 14px;
        width: fit-content;
    }

    .sk-icon ul li img {
        height: 18px;
        width: 18px;
    }

    .sk-icon ul {
        gap: 3px;
    }

    #sk-alt {
        height: 18px;
        width: 33px;
    }

    /* why section */

    .w-reason span {
        font-size: .9rem;
    }

    /* Contact Section */

    .co-headings h1 {
        font-size: 100px;
        line-height: 50px;
        letter-spacing: 20px;
    }

    .co-headings h2 {
        font-size: 24px;
    }

    .input-box input {
        border: none;
        border-bottom: 1px solid var(--main-color);
        font-weight: 300;
        font-size: 12px;
    }

    form textarea {
        border: none;
        border-bottom: 1px solid var(--main-color);
        font-weight: 300;
        font-size: 12px;
    }

    form .c-btn {
        border: 1px solid var(--main-color);
        font-weight: 300;
        font-size: 10px;
        padding: 7px 15px;
    }

    .success-popup {
        padding: 2px 12px 4px 12px;
    }

    .pop-msg {
        font-size: 12px;
    }

    .pop-close {
        font-size: 10px;
        top: 1px;
        right: 3px;
    }

    .check {
        padding-left: 0;
    }

    /* footer */

    .footer .social a {
        border: 1px solid var(--main-bg-color);
    }

    .menu {
        font-size: 16px;
        width: 65%;
        font-weight: 400;
    }
}

@media (max-width: 400px) {
    .work-con .wo-mid {
        width: 100%;
        height: 170px;
    }

    .wo-r-headings {
        width: 70%;
    }

    .wo-r-exp {
        width: 30%;
    }

    .wo-know {
        font-size: 24px;
        line-height: 22px;
    }

    .wo-about {
        font-size: 16px;
    }

    .wo-r-headings .wo-para {
        padding-bottom: 5px;
        width: 85%;
    }

    .sk-1 {
        top: 230px;
        right: -35px;
    }

    .sk-2 {
        gap: 25px;
        top: -200px;
    }

    .sk-3 {
        right: 10px;
    }

    .w-headline {
        font-size: 0.9rem;
    }

    .w-reason span {
        font-size: .8rem;
    }

    .whyus {
        height: fit-content;
    }

    nav a {
        margin: 20px 0px;
    }
}

@media (max-width:380px) {
    .home {
        padding-bottom: 20px;
    }

    .contact {
        padding-top: 0;
        padding-bottom: 30px;
    }

    .co-headings h1 {
        font-size: 80px;
        letter-spacing: 20px;
        line-height: 35px;
    }

    .co-headings h2 {
        font-size: 18px;
    }
}

@media (max-width: 350px) {
    .work-con .wo-left {
        padding-bottom: 5px;
    }

    .work-con .wo-right {
        padding-top: 5px;
    }

    .wo-l-cat ul li a {
        font-size: 11px;
    }

    .wo-l-cat ul li img {
        height: 9px;
        width: 9px;
        padding: 3px;
    }

    .wo-l-cat ul li {
        gap: 5px;
    }

    .wo-r-headings {
        width: 60%;
    }

    .wo-r-exp {
        width: 40%;
    }

    .wo-l-headings .wo-para {
        font-size: 12px;
        line-height: 13px;
        padding-top: 5px;
    }

    .wo-r-headings .wo-para {
        width: 100%;
    }

    .s-container {
        padding: 15px 20px;
    }

    .s-container h3 {
        font-size: 0.95rem;
    }

    .s-container p {
        font-size: 0.80rem;
        padding-top: 7px;
        line-height: 0.95rem;
    }

    .whyus {
        height: fit-content;
    }

    .contact {
        height: fit-content;
    }

    .menu {
        font-size: 16px;
        width: 60%;
        font-weight: 400;
    }

    nav {
        padding: 0.5rem 2%;
    }
}

@media (max-width: 325px) {

    .co-headings h1 {
        font-size: 70px;
        letter-spacing: 15px;
        line-height: 30px;
    }
}

/* --- Base Settings --- */
.experience {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 60px 6%;
    font-family: 'Poppins', sans-serif;
    /* Ya jo bhi tera font hai */
}

.exp-wrapper {
    
    margin: 0 auto;
}

/* --- Toggle Buttons --- */
.exp-buttons {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #333;
    margin-bottom: 50px;
}

.exp-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.2rem;
    color: #777;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.exp-btn-active {
    color: #FF5733;
    /* Tera Brand Color */
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Active line niche lane ke liye */
.exp-btn-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Border ke upar */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FF5733;
}

/* --- Content Visibility Logic --- */
.exp-webdev,
.exp-videoedit {
    display: none;
    /* By default sab chhupa do */
    animation: fadeIn 0.5s ease;
}

/* JS ye class add karega show karne ke liye */
.show-content {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Header Grid (Left Text, Right Heading) --- */
.exp-web-header,
.exp-edit-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50-50 Split */
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
    padding-bottom: 30px;
}

/* Paragraph Side (Left) */
.exp-w-head-left,
.exp-e-head-left {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--font-color);
    border-left: 3px solid #FF5733;
    /* Thoda stylish look ke liye */
    padding-left: 20px;
    font-weight: 300;
}

/* Heading Side (Right) */
.exp-w-head-right,
.exp-e-head-right {
    text-align: right;
    /* Right Align Zaroori hai */
}

.exp-w-head-right p,
.exp-e-head-right p {
    color: #FF5733;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.exp-w-head-right h1,
.exp-e-head-right h1 {
    font-size: 3.5rem;
    line-height: 0.9;
    margin: 5px 0 0 0;
    color: #fff;
    font-family: neu-china-b;
}

/* --- Projects Grid (Cards) --- */
.exp-web-projects,
.exp-vid-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 30px;
}

/* Card Styling */
.work-card {
    background: #252525;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    text-decoration: none;
}

.work-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: #FF5733;
}

.card-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: top;
}

.work-card:hover .card-img-box img {
    transform: scale(1.1);
    /* Zoom Effect */
}

.card-details {
    padding: 20px;
}

.card-details h3 {
    margin: 0 0 0px 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;

}

.card-details p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
    line-height: 0.8rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {

    .exp-web-header,
    .exp-edit-header {
        grid-template-columns: 1fr;
        /* Stack ho jayega */
        gap: 20px;
    }

    .exp-buttons {
        gap: 25px;
        border-bottom: 1px solid #333;
        margin-bottom: 30px;
    }

    .exp-btn{
        font-size: 1.1rem;
        padding: 10px 0;
        font-weight: 450;
    }
    .exp-btn-active{
        font-weight: 550;
    }
.exp-btn-active::after {

    height: 2px;
  
}

    .exp-w-head-right,
    .exp-e-head-right {
        text-align: left;
        /* Mobile pe left align better hai */
        order: -1;
        /* Heading upar chali jayegi */
    }

    .exp-web-projects,
    .exp-vid-projects {
        grid-template-columns: 1fr;
        /* 1 Column Card */
    }

    .exp-w-head-right h1 ,
    .exp-e-head-right h1 {
        font-size: 2.5rem;
    }
    
}

/* --- Container --- */
.vid-hub-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* Width badhai taaki arc fail sake */
    height: 700px;
    margin: 50px auto;
    /* border: 1px dashed #333; Debugging ke liye */
}

/* --- Center Hub --- */
.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #FF5733;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 0 30px rgba(255, 87, 51, 0.3);
}

.center-content {
    width: 50px;
    height: 50px;
    text-align: center;
    background-color: var(--secondary-bg-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-content i {
    font-size: 1.2rem;
    color: #FF5733;
}


/* ================= ITEMS (The Arc Layout) ================= */

.hub-item {
    position: absolute;
    /* REEL DIMENSIONS: Vertical Rectangle */
    height: 350px; 
    
    background: #000; /* Black bg for videos */
    padding: 0; /* Padding hata di taaki full video dikhe */
    border-radius: 12px; /* Smooth corners like Instagram */
    border: 2px solid #333; /* Thin border */
    overflow: hidden; /* Video corners round karne ke liye */
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    
    /* Smooth Transition */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

/* Video ko full fit karna */
.hub-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video poora area fill karega */
    display: block;
}

/* Hover Effect */
.hub-item:hover {
    border-color: #FF5733; /* Brand color border */
    z-index: 10;
    box-shadow: 0 15px 30px rgba(255, 87, 51, 0.3); /* Glow effect */
}

/* LOGIC: 
   - Mid items (Reels/Vlogs) sabse corner (Left: 0, Right: 0) pe rahenge.
   - Top/Bot items thoda andar (Left: 80px, Right: 80px) rahenge.
   - Isse "Curve" banega.
*/

/* --- LEFT ARC --- */
.item-left-top {
    top: -5%;
    left: 210px;

}


.item-left-mid {
    top: 50%;
    left: 0px;
    /* Important: Default state me sirf translate use karo positioning ke liye */
    transform: translateY(-50%);
}

.item-left-bot {
    bottom: -5%;
    left: 210px;
}


/* --- RIGHT ARC --- */
.item-right-top {
    top: -5%;
    right: 210px;
}

.item-right-mid {
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}

.item-right-bot {
    bottom: -5%;
    right: 210px;
}


/* ================= HOVER FIX (No Jumping) ================= */

/* Jab hover ho, to apni purani position maintain karte hue scale karo */

/* Specific Hover Rules to Prevent Jumping */
.item-left-top:hover,
.item-left-bot:hover,
.item-right-top:hover,
.item-right-bot:hover {
    transform: scale(1.1);
    /* Normal scaling */
}

/* Middle items ke liye 'translateY' ko sath rakhna zaroori hai */
.item-left-mid:hover,
.item-right-mid:hover {
    transform: translateY(-50%) scale(1.1);
}


/* ================= LINES (The Cross Effect) ================= */

.line {
    position: absolute;
    background: #FF5733;
    /* Line Color */
    height: 2px;
    top: 50%;
    left: 50%;
    z-index: -5;
    transform-origin: left center;
    /* Center se rotate hongi */
    opacity: 0.5;
}

/* Line Length Calculation:
   Center se doori badh gayi hai arc ki wajah se, isliye lines lambi hongi.
*/

/* Left Lines */
.line-L1 {
    width: 180px;
    transform: rotate(215deg);
    position: absolute;
    top: 45px;
    left: 5px;
}

/* Top Left connects to inner */
.line-L2 {
    width: 370px;
    transform: rotate(180deg);
}

/* Mid Left (Longest) */
.line-L3 {
    width: 180px;
    transform: rotate(145deg);
    top: 5px;
    left: 5px;
}

/* Bot Left */

/* Right Lines */
.line-R1 {
    width: 180px;
    transform: rotate(-35deg);
    top: 45px;
    left: 45px;
}

/* Top Right */
.line-R2 {
    width: 370px;
    transform: rotate(0deg);
}

/* Mid Right (Longest) */
.line-R3 {
    width: 180px;
    transform: rotate(35deg);
    top: 5px;
    left: 45px;
}

/* Bot Right */


/* ================= THUMBNAILS (Visuals) ================= */





/* ================= MOBILE (Stack) ================= */


/* --- Testimonials Section Base --- */
.testimonials {
    background-color: #1a1a1a;
    padding: 60px 6%;
    overflow: hidden;
    /* Scrollbar na aaye isliye */
}

.testi-wrapper {
    width: 100%;
    /* Full width for infinite scroll effect */
    
    /* Thoda wide rakhenge */
    margin: 0 auto;
}

/* --- Heading Styling --- */
.testi-head {
    text-align: center;
    margin-bottom: 50px;
}

.testi-head h1 {
    font-size: 3rem;
    color: #fff;
    
    font-weight: 600;
}

.testi-head p {
    color: #888;
    font-size: 1.1rem;
}

/* --- Swiper Styling --- */
/* --- Swiper Container --- */
.testi-main {
    width: 100%;
    padding: 40px 0;
    /* Upar niche thoda space */
    background: #1a1a1a;
    /* Background match karne ke liye */
}

/* --- Slide Styling --- */
.swiper-slide {
    width: auto;
    /* Width auto rakho taaki image stretch na ho */
    margin-right: 20px;
    /* Images ke beech ka gap */
}

/* --- Image Styling (Chat Screenshots ke liye) --- */
.swiper-slide img {
    height: 100px;
    /* FIXED HEIGHT: Chat padhne layak ho, par huge na ho */
    width: auto;
    /* Aspect Ratio maintain rahega */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Thoda depth */
    border: 1px solid #333;
    object-fit: cover;
    background-color: #252525;
    /* Agar image transparent ho to */
}

/* --- Hover Effect --- */
.swiper-slide img:hover {
    transform: scale(1.05);
    /* Mouse le jane par thoda bada ho */
    border-color: #FF5733;
    transition: all 0.3s ease;
}

/* --- INFINITE FLOW MAGIC --- */
.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -moz-transition-timing-function: linear !important;
    -ms-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}



@media (max-width: 1000px){
    
}
@media (max-width:1199px){
    
    .exp-web-projects{
        display: grid;
        gap: 20px;
    }
    .hub-item{
        height: 330px;
    }
   .line-L1{
    transform: rotate(245deg);
   }    .line-R1{
    transform: rotate(-65deg);
   }    .line-L3{
    transform: rotate(-245deg);
   }    .line-R3{
    transform: rotate(65deg);
   } 

   .line-L2,
   .line-R2{
    width: 300px;
   }
}
@media (max-width:991px){
    .experience{
        padding: 40px 6%;
    }

    .exp-w-head-left,
    .exp-e-head-left {
        line-height: 1.3;
    }

    .exp-web-projects{
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }

    .exp-web-header,
    .exp-edit-header {  
        margin-bottom: 20px;
    }

        .exp-w-head-right h1 ,
    .exp-e-head-right h1 {
        font-size: 2.5rem;
    }
    .hub-center{
        display: none;
    }
.vid-hub-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 2 Columns (Tablet/Laptop) */
        gap: 20px; /* Cards ke beech gap */
        
        height: auto; /* Height '700px' se hata kar auto karo taaki content fit ho */
        margin: 40px auto; /* Upar niche ka gap adjust */
         /* Side se chipke nahi */
    }
    .hub-item{
position: relative; /* Hawa se zameen par lao */
        width: 100%; /* Grid cell ka poora area le (40% mat rakhna) */
        height: auto;/* Reel jaisi height fix karo */
        
        /* Desktop wale coordinates ko jabardasti hatana padega */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        
        /* Rotation aur scaling hatao */
        transform: none !important; 
        margin: 0;
    }
}

@media (max-width: 650px) {
    .card-img-box{
        height: 150px;
    }
    .card-details {
    padding: 15px;
}

.card-details h3 {
    font-size: 1.1rem;
    
}

.card-details p {
    line-height: 0.8rem;
    color: #888;
    font-size: 0.9rem;
}
}

@media (max-width: 767px) {
    .experience{
    padding: 30px 6%;}
    .exp-edit-header{
        padding: 0px;
    }
    .exp-w-head-left,
    .exp-e-head-left {
        font-size: 1rem;
        line-height: 1.3;
        border-left: 2px solid #FF5733;
        padding-left: 15px;
    }
    .testi-head h1 {
        font-size: 2.5rem;
       
    }
    .testi-main{
        padding: 10px 0px;
    }

    .swiper-slide{
        margin-right: 10px;
    }

    .swiper-slide img{
        height: 80px;
    }
}

@media (max-width:550px){
    .exp-btn{
        font-size: 1rem;
        padding: 10px 0;
        font-weight: 400;
        padding: 5px 0;
        border-bottom: 1px solid #333;
    }
    .exp-btn-active{
        font-weight: 500;
    }
.exp-btn-active::after {
    
    height: 1px;
  
}
    .vid-hub-container {
        grid-template-columns: repeat(2, 1fr); /* 1 Column (Mobile) */
        gap: 10px;
    }
    .exp-web-projects{
        grid-template-columns: repeat(1, 1fr); 
        gap: 15px;
    }
    .card-img-box{
        height: 200px;
    }

    .exp-web-header,
    .exp-edit-header {
        margin-bottom: 0px;
    }

    .exp-w-head-left,
    .exp-e-head-left {
        font-size: 0.9rem;
        line-height: 1.3;
        border-left: 2px solid #FF5733;
        padding-left: 10px;
    }
    
    .exp-w-head-right p,
    .exp-e-head-right p {
        font-size: 0.6rem;
    }

    .testimonials {
        padding: 40px 6%;
    }
    .testi-head{
        margin: 0;
        margin-bottom: 20px;
    }
    .testi-head h1 {
        font-size: 1.5rem;
       
    }

    .testi-head p {
        font-size: 0.9rem;
    }
    .testi-main{
        padding: 0% 0px;
    }
    .swiper-slide img{
        height: 50px;
        border-radius: 8px;
    }

       .swiper-slide{
        margin-right: 5px;
    }


    .exp-w-head-right h1,
    .exp-e-head-right h1 {
        font-size: 2rem;
    }


}

@media (max-width:480px) {
    
}
