@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&family=Unbounded:wght@200..900&display=swap');

:root {
    --primary-color: #158a85;
    --soft-black: #232b2b;
    --soft-white: #E3EFF0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}


html,
body {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: var(--soft-white);
    font-family: "Nunito", sans-serif;
    overflow-x: hidden;
    font-display: swap;
}

img {
    user-select: none;
}

a {
    text-decoration: none;
}

/* ===== SLICE TRANSITION ===== */
.slices-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
}

.slice {
    flex: 1;
    height: 100vh;
    background: var(--soft-black, #030314);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.slice.down {
    transform: translateY(0);
}

.slice.up {
    transform: translateY(-100%);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--soft-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

/* Title Wrapper for fill effect */
.loading-title-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto 3rem auto;
    height: clamp(4rem, 10vw, 6rem);
    overflow: hidden;
}

/* Base title (outline/stroke style) */
.loading-title {
    position: relative;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--soft-white);
    opacity: 0.5;
    white-space: nowrap;
}

.loading-title-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--soft-white);
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    border-right: 3px solid var(--primary-color);
    /* animation: blink 1s infinite; */
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--primary-color);
    }

    50% {
        border-color: transparent;
    }
}

/* Progress Bar Container */
.progress-bar-container {
    width: min(400px, 70vw);
    margin: 0 auto;
    position: relative;
}

/* Progress Bar Background */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Progress Fill with gradient animation */
.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,
            var(--primary-color, #4ecdc4) 0%,
            #fff 50%,
            var(--primary-color, #4ecdc4) 100%);
    background-size: 200% 100%;
    transition: width 0.3s ease;
    animation: gradientShift 2s linear infinite;
    border-radius: 4px;
}

@keyframes gradientShift {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Optional: Glow effect on progress */
/* .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(78, 205, 196, 0.3), transparent 70%);
    pointer-events: none;
} */

/* Alternative: Mix-blend-mode version */
.loading-title.mix-blend {
    position: relative;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: white;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

.loading-title-fill.mix-blend {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--soft-white);
    mix-blend-mode: difference;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Responsive */
@media (max-width: 768px) {

    .loading-title,
    .loading-title-fill {
        font-size: clamp(2.5rem, 6vw, 3rem);
        letter-spacing: 0.05em;
    }

    .loading-title-wrapper {
        height: clamp(3rem, 8vw, 4rem);
        margin-bottom: 2rem;
    }

    .progress-bar-container {
        width: min(300px, 80vw);
    }
}

/* Shimmer effect option */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.loading-title-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

/* Page styles - ensure content is visible */
.page {
    position: relative;
    z-index: 1000;
    opacity: 1;
    /* Always visible by default */
    transition: opacity 0.3s ease;
}

.page.active {
    opacity: 1;
}

.section-tag {
    padding: 5px 10px;
    background: var(--soft-black);
    color: var(--primary-color);
    color: var(--soft-white);
    border-radius: 6px;
    font-size: 1rem;
    position: sticky;
    left: 20px;
    top: 80px;
    width: fit-content;
    text-transform: uppercase;
    z-index: 9;
    pointer-events: none;
}

.section-tag span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-2px);
}


section {
    min-height: 100vh;
    width: 100%;
}

.cursor {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    border: 1px solid var(--primary-color);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 99999;
}

.cursor::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.cursor.active {
    height: 40px;
    width: 40px;
    border-width: 2px;
}

.cursor.active::after {
    height: 12px;
    width: 12px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    color: var(--soft-black);
    mix-blend-mode: difference;
    color: var(--soft-white);
    background-color: transparent;
}

.logo-text {
    font-size: 20px;

}

.burger-menu-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.burger-menu-icon span {
    height: 2px;
    width: 100%;
    /* background: var(--soft-black); */
    background: currentColor;
    transition: transform 0.4s ease, opacity 0.3s ease;
}


.burger-menu-icon.active span:first-child {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
}

.burger-menu-icon.active span:last-child {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 0;
}

nav {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(100%);
    z-index: 999;
    align-items: center;
    align-content: center;
    padding-left: 30px;
    color: var(--soft-black);
    background: var(--soft-white)
}

nav.active {
    display: block;
}

nav ul {
    padding: 20px 40px;
    list-style: none;
    margin-bottom: 20px;

}

nav ul li {
    font-size: 5vw;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    width: fit-content;

}

nav ul li:hover a {
    /* transform: translateY(-70px); */
    /* transform: translateX(20px); */
    transform: translateX(2vw);
}

nav ul li a {
    text-decoration: none;
    color: var(--soft-black);
    height: 100%;
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}

.nav-intro {
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2rem;
    justify-content: space-between;
    gap: 10px;
}

.nav-tagline {
    width: 60%;
    font-size: 1.5vw;
}

.nav-status {
    background: var(--primary-color);
    color: var(--soft-white);
    padding: 5px 10px;
    text-align: center;
    align-content: center;
    border-radius: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-status span {
    color: var(--soft-black);
}

.hero-section {
    min-height: 100vh;
    max-height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--soft-black);
}

.hero-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 40vw);
    height: auto;
    aspect-ratio: 1/1;
    min-width: 250px;
    max-width: 500px;
}

.hero-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    z-index: 2;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-section .hero-bottom {
    height: fit-content;
    display: flex;
    align-items: flex-end;
    z-index: 99;
    justify-content: space-between;
    width: 100%;
    position: relative;
    bottom: 20px;
}

.hero-section .hero-basedin {
    font-size: clamp(16px, 2vw, 25px);
}

.hero-section .hero-tagline {
    font-size: clamp(24px, 4vw, 40px);
    width: min(600px, 45%);
    margin: 0;
    padding: 0;
    /* text-align: right; */
}

@media (max-width:980px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
    }

    .hero-img {
        width: 35vw;
        min-width: 200px;
        top: 45%;
    }
}

/* .hero-section * {
    border: 2px solid red;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--soft-black);
}

.hero-img {
    position: absolute;
    left: 50%;
    top: 57%;
    transform: translate(-50%, -50%);
    min-height: 350px;
    min-width: 350px;
}

.hero-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 2;
}


#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-img:hover #particle-canvas {
    cursor: pointer;
}

.hero-section .hero-bottom {
    height: fit-content;
    display: flex;
    align-content: end;
    align-items: end;
    z-index: 99;
    justify-content: space-between;
}

.hero-section .hero-basedin {
    font-size: 25px;
}

.hero-section .hero-tagline {
    font-size: 40px;
    width: 41%;
    margin: 0;
    padding: 0;
} */

/* 
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
} */


.welcome-section {
    background: var(--soft-black);
    min-height: fit-content;
    max-height: 100vh;
    /* max-height: fit-content; */
    padding: 20px;
}

.welcome-section .welcome-info {
    width: 80%;
    color: var(--soft-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 40px;
    gap: 40px;
}

.welcome-section .welcome-info h1 {
    font-size: 50px;
    padding: 20px;
}

.welcome-section .welcome-info h1 span {
    color: var(--primary-color)
}

.welcome-section .welcome-info h2 {
    font-size: 20px;
    padding: 20px;
    font-weight: normal;
}

.welcome-section .welcome-info .info-pro {
    padding: 20px 20px;
}

.service-section {
    padding: 40px 30px;
    border-bottom: 2px solid var(--soft-black);
}

.service-section .service-section-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--soft-black);
}

.service-section .service-section-heading {
    font-size: 70px;
}

.service-section .service-section-heading span {
    color: var(--primary-color);
}

.service-section .service-section-details {
    font-size: 19px;
    font-weight: normal;
    width: 40%;
}

.service-section .service-parts {
    list-style: none;
    padding: 40px 10px;
}

.service-parts .service-info {
    padding: 50px 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-bottom: 2px solid var(--soft-white);
    border-radius: 4px;
    background: var(--soft-black);
    color: var(--soft-white);
    user-select: none;

}

.service-parts .service-parts-heading {
    font-size: 40px;
}

.service-parts .service-parts-discription {
    display: flex;
    justify-content: space-between;
}

.service-parts-discription .service-discription-text {
    width: 50%;
}

.service-parts-discription .service-tech-tags {
    align-content: center;
}

/* 
.service-parts-discription .service-tech-tags span {
    border: 2px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(2deg);
    position: relative;
    overflow: hidden;
} */
.service-parts-discription .service-tech-tags span {
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--soft-black);
    color: var(--soft-white);
    display: inline-block;
    transform: rotate(4deg);
    position: relative;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.service-parts-discription .service-tech-tags span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #158a8496 55%);
    animation: rotate 3s linear infinite;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: -1;
}

.service-parts-discription .service-tech-tags span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--soft-black);
    border-radius: 6px;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.work-section {
    padding: 10px 20px;
    background: var(--soft-black);
    position: relative;
    overflow: visible;
    border-bottom: 1px solid var(--soft-white);

}

.work-section-tag .section-tag {
    position: sticky;
    left: 20px;
    top: 40px;
}

.work-section-tag {
    position: sticky;
    top: 50px;
    padding: 10px 20px;
    /* margin-bottom: 15px; */
    /* margin-top: 50px; */
    background: var(--soft-black);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(from var(--soft-white) r g b / 35%);
    z-index: 99;
}

.work-section-tag .projetcs-section-header {
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 10px;
}

.projects-head-right {
    display: flex;
    width: 70%;
    justify-content: space-between;
    gap: 20px;
}

.work-section-tag a {
    text-decoration: none;
    color: var(--soft-white);
}

.projetcs-section-header a {
    padding: 10px;
}

.projetcs-section-header a.active {
    border-bottom: 1px solid var(--soft-white);
}

.more-projects {
    padding: 10px;
    align-content: center;
    transition: all 0.2s;
}

.more-projects:hover {
    transform: translateY(-3px);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 140px;
    position: relative;
    width: 100%;
}

.projects-container .project-card {
    position: sticky;
    top: 130px;
}

.projects-container .projects-items {
    background: rgb(from var(--soft-white) r g b / 70%);
    backdrop-filter: blur(10px);
    display: flex;
    color: var(--soft-black);
    border-radius: 6px;
    border: 1px solid rgb(from var(--soft-white) r g b / 15%);
    width: 100%;

}

.projects-items:hover .left-side-project img {
    scale: 1.08;
    transform: rotate(2deg);
}

.projects-container a {
    text-decoration: none;
    color: var(--soft-white);
}

.projects-items .left-side-project {
    width: 50%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.projects-items .left-side-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s;
}

.cursor.project-hover {
    height: 80px;
    width: 80px;
    background: rgb(from var(--primary-color) r g b / 85%);
    border-color: transparent;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cursor.project-hover::after {
    opacity: 0;

}

.projects-items .right-side-project {
    padding: 20px;
    width: 50%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-side-project .project-date {
    font-size: 20px;
}

.right-side-project .project-title {
    font-size: 50px;
}

.right-side-project .project-discription {
    font-size: 16px;
}

.right-side-project .project-features {
    list-style-type: disc;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.project-features li::marker {
    color: rgb(from var(--soft-black) r g b / 50%);
}

.right-side-project .tech-used {
    display: flex;
    gap: 10px;
}

.right-side-project .tech-used span {
    padding: 5px 7px;
    border-radius: 8px;
    background: var(--soft-black);
    color: var(--soft-white);
    display: inline-block;
    transform: rotate(4deg);
    position: relative;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.right-side-project .tech-used span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #158a8496 55%);
    animation: rotate 3s linear infinite;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: -1;
}

.right-side-project .tech-used span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--soft-black);
    border-radius: 6px;
    z-index: -1;
}

.principles-section {
    min-height: fit-content;
    padding: 40px;
    background: var(--soft-black);
    color: var(--soft-white);
    border-bottom: 1px solid var(--soft-white);
}

.principles-section .principles-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.principles-header .principles-heading {
    font-size: 70px;
}

.principles-section .principles-header span {
    color: var(--primary-color)
}

.principles-container {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(470px, 1fr));
    gap: 20px;
}

.principles-container .principles-card {
    position: relative;
    border: 1px solid var(--soft-white);
    background: rgb(from var(--soft-white) r g b / 5%);
    padding: 40px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.2s;
    user-select: none;
}

.principles-card .back-card-no {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 60px;
    text-align: end;
    padding: 20px;
    /* opacity: 0.15; */
    opacity: 0.4;
    pointer-events: none;
    overflow: hidden;
    transition: all 0.2s;
}

.principles-card .back-card-no::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: 20px;
    background: var(--primary-color);
    z-index: 1;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: all 0.2s;
    z-index: -1;

}

.principles-card:hover .back-card-no::after {
    opacity: 1;
}

.principles-card:hover .card-no {
    color: var(--primary-color);
}

.principles-card:hover {
    border: 1px solid var(--primary-color);
    background: rgb(from var(--primary-color) r g b / 5%);
}

.principles-card:hover .border {
    width: 70px;
}

.principles-card .card-no {
    font-size: 15px;
    transition: all 0.2s;
}

.principles-card .principles-card-heading {
    font-size: 20px;
}

.principles-card .border {
    height: 2px;
    width: 50px;
    background: var(--primary-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.testimonial-section {
    padding: 70px 30px;
    width: 100%;
    position: relative;
    background: var(--soft-white);
    /* align-content: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 70px;
    border-bottom: 1px solid var(--soft-black);
}

.left-testimonial {
    /* width: 50%; */
    border: 2px solid red;
}

.left-testimonial h4 {
    font-size: clamp(32px, 6vw, 70px);
}

.left-testimonial p {
    font-size: 20px;
    width: 80%;
}

.right-testimonial {
    width: 50%;
    min-height: 500px;
    position: relative;
    transform: translateX(40%);
    border: 2px solid red;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-testimonial .testimonial-cont {
    height: 400px;
    width: 100%;
    position: relative;
    border: 2px solid green;
    overflow: hidden;
    cursor: grab;
}

.right-testimonial .testimonial-cont:active {
    cursor: grabbing;
}

.testimonial-card {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    gap: 15px;
    background: var(--soft-black);
    color: var(--soft-white);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.4;
    transform: scale(0.95);
    margin: 0 10px 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 120px;
    /* Fixed height for consistent sliding */
}

.testimonial-card.active-card {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, var(--soft-black), #2a2a4a);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.3);
}

.testimonial-card.above-center,
.testimonial-card.below-center {
    opacity: 0.6;
    transform: scale(0.95);
}

.testimonial-card.hidden-card {
    opacity: 0;
    pointer-events: none;
}

/* Navigation Buttons */
.testimonial-nav {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--soft-black);
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.nav-btn:hover:not(:disabled) {
    transform: scale(1.1);
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

.nav-btn:active:not(:disabled) {
    transform: scale(0.95);
}

/* Disabled state */
.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #666;
    box-shadow: none;
}

.nav-btn:disabled:hover {
    transform: none;
    background: #666;
    color: var(--soft-black);
    border: none;
}

.nav-btn:hover {
    transform: scale(1.1);
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}


.testimonial-card .testi-cli-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    border: 1px solid var(--soft-white);
    padding: 2px;
}

.testi-cli-img img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testi-cli-info .client-name {
    font-size: 25px;
}

.testi-cli-info .client-review {
    font-size: 16px;
}



@media (max-width:1200px) {
    .welcome-section {
        height: fit-content;
        min-height: fit-content;
    }

    .welcome-section .welcome-info h1 {
        font-size: 42px;
    }

    .welcome-section .welcome-info h2 {
        font-size: 18px;
    }


    .hero-img {
        position: absolute;
        width: 100vw;
        min-width: 250px;
        top: 45%;
    }

}


@media (max-width: 1024px) {
    nav ul li {
        font-size: 6vw;
        min-width: 120px;
    }

    .nav-tagline {
        width: 70%;
        font-size: 4vw;
    }

    .nav-intro {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .hero-section {
        height: 100vh;
        min-height: fit-content;
        max-height: 100vh;
    }

    .hero-img {
        width: 70vw;
        min-width: 280px;
    }

    .welcome-section .welcome-info {
        width: 90%;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }

    .welcome-section .welcome-info {
        width: 90%;
    }

    .welcome-section .welcome-info h1 {
        font-size: 42px;
    }

    .welcome-section .welcome-info h2 {
        font-size: 18px;
    }

    .welcome-section .welcome-info .info-pro {
        padding: 10px;
    }

    .service-parts .service-parts-discription {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .right-side-project .project-date {
        font-size: 20px;
    }

    .right-side-project .project-title {
        font-size: 35px;
    }

    .right-side-project .project-discription {
        font-size: 16px;
    }
}

@media (max-width:980px) {
    .hero-section {
        min-height: 40vh;
        /* height: fit-content; */
        max-height: 100vh;
    }

    .testimonial-section {
        align-items: center;
    }

    .right-testimonial {
        width: 80%;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .cursor {
        display: none;
    }

    header {
        padding: 20px;
    }

    nav {
        padding-left: 10px;
    }

    nav ul {
        padding: 20px 10px;
        margin-bottom: 40px;
    }

    nav ul li {
        font-size: 12vw;
        padding: 5px 0;
    }

    nav ul li:hover a {
        transform: translateX(4vw);
    }

    .nav-tagline {
        width: 100%;
        font-size: 5vw;
        text-align: start;
        margin-bottom: 10px;
    }

    .nav-intro {
        flex-direction: column;
        font-size: 0.9rem;
        padding: 10px 20px;
        text-align: center;
        gap: 5px;
        padding: 0 10px;
    }

    .nav-status {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-img {
        position: absolute;
        width: 70vw;
        min-width: 250px;
        top: 45%;
    }

    .hero-section .hero-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;


    }

    .hero-section .hero-basedin {
        font-size: clamp(16px, 4vw, 25px);
    }

    .hero-section .hero-tagline {
        font-size: clamp(24px, 6vw, 40px);
        width: 100%;
        /* text-align: start; */
    }

    .welcome-section {
        padding: 20px;
    }

    .welcome-section .welcome-info {
        width: 100%;
        padding: 50px 10px;
    }

    .welcome-section .welcome-info h1 {
        font-size: 30px;
        padding: 0;
    }

    .welcome-section .welcome-info h2 {
        font-size: 16px;
        padding: 0;
    }

    .service-section {
        padding: 40px 7px;
    }

    .service-parts-discription .service-discription-text {
        width: 100%;
    }

    .service-section .service-section-heading {
        font-size: 50px;
    }

    .service-section .service-section-details {
        font-size: 19px;
        font-weight: normal;
        width: 100%;
    }

    .service-parts .service-parts-heading {
        font-size: 25px;
    }

    .service-parts-discription .service-tech-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .service-parts-discription .service-tech-tags span {
        /* padding: 10px; */
        font-size: 12px;
    }

    .projects-items {
        flex-direction: column;
    }

    .projects-items .left-side-project,
    .projects-items .right-side-project {
        width: 100%;
    }

    .right-side-project .project-title {
        font-size: 40px;
    }

    .projects-container .project-card {
        position: sticky;
        top: 140px;
    }

    .work-section-tag {
        padding: 10px 5px;
        margin-top: 10px;
        display: flex;
        gap: 10px;
        flex-direction: column-reverse;
    }

    .work-section-tag .projetcs-section-header {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .projetcs-section-header a {
        padding: 5px 2px;
        font-size: 12px;
        width: fit-content;
    }

    .projects-items .left-side-project {
        aspect-ratio: 7 / 3;
    }

    .projects-head-right {
        width: 100%;
    }

    .projects-head-right a {
        display: flex;
        justify-content: space-between;
    }

    .projects-items .right-side-project {
        padding: 15px;
        gap: 15px;
    }

    .right-side-project .project-date {
        font-size: 18px;
    }

    .right-side-project .project-title {
        font-size: 32px;
    }

    .right-side-project .project-discription {
        font-size: 15px;
    }

    .right-side-project .tech-used {
        flex-wrap: wrap;
    }

    .principles-container {
        display: grid;
        /* grid-template-columns: repeat(2, 1fr); */
        grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
        gap: 20px;
    }

    .principles-header .principles-heading {
        font-size: 50px;
    }

    .cursor.project-hover {
        opacity: 0;
    }


    .right-testimonial {
        width: 100%;
        min-height: fit-content;
    }

    .left-testimonial p {
        font-size: 20px;
        width: 100%;
    }

    .testimonial-card {
        padding: 10px;
        gap: 20px;
        height: fit-content;
        margin: 0;
    }

    .right-testimonial .testimonial-cont {
        height: 300px;
    }

    .testi-cli-info {
        border: 2px solid red;
    }

    .testi-cli-img {
        height: 50px;
        width: 50px;
        border-radius: 50%;
        border: 1px solid var(--soft-white);
        padding: 0;
    }

    .testi-cli-info .client-name {
        font-size: 20px;
    }

    .testi-cli-info .client-review {
        font-size: 14px;
    }
}

@media (max-width:480px) {
    /* 
    section {
        min-height: fit-content;
        height: auto;
    } */

    /* .hero-section {
        min-height: 80vh;
    } */
    .hero-img {
        width: 90vw;
        min-width: 200px;
        top: 40%;
    }

    .welcome-section {
        padding: 10px;
    }

    .welcome-section .welcome-info h1 {
        font-size: 30px;

    }

    .welcome-section .welcome-info h2 {
        font-size: 16px;
    }

    .service-section {
        padding: 40px 7px;
    }

    .service-section .service-section-top {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 20px;
    }

    .service-parts-discription .service-discription-text {
        width: 100%;
    }

    .service-section .service-section-heading {
        font-size: clamp(28px, 10vw, 50px);
    }

    .service-section .service-section-details {
        font-size: 16px;
    }

    .service-section .service-parts {
        padding: 20px 7px;

    }

    .service-parts .service-info {
        padding: 20px 15px;
    }

    .service-parts .service-parts-heading {
        font-size: 20px;
    }

    .service-parts .service-parts-discription {
        font-size: 14px;
    }

    .service-parts-discription .service-tech-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .projects-items .left-side-project {
        aspect-ratio: 5.2 / 3;
    }

    .projects-head-right {
        font-size: 14px;
    }


    .projects-items .right-side-project {
        padding: 10px;
        gap: 12px;
    }

    .right-side-project .project-date {
        font-size: 16px;
    }

    .right-side-project .project-title {
        font-size: 26px;
    }

    .right-side-project .project-discription {
        font-size: 14px;
    }

    .right-side-project .project-features {
        padding-left: 18px;
        gap: 5px;
    }

    .right-side-project .tech-used span {
        font-size: 13px;
        padding: 4px 6px;
    }

    .principles-section {
        padding: 40px 10px;
    }

    .principles-header .principles-heading {
        font-size: 40px;
    }

    .testimonial-card .testi-cli-img {
        height: 70px;
        width: 70px;
        border-radius: 50%;
        border: 1px solid var(--soft-white);
        padding: 2px;
    }

}

@media (max-width:390px) {
    .projects-items .left-side-project {
        aspect-ratio: 6 / 3;
    }

    .nav-status {
        font-size: 15px;
    }
}


/* Mobile performance optimizations */
@media (max-width: 768px) {

    /* Disable expensive animations on mobile */
    .service-tech-tags span::before {
        animation: none !important;
        background: linear-gradient(90deg, var(--primary-color), #158a8496);
    }

    .right-side-project .tech-used span::before {
        animation: none !important;
    }

    /* Simplify backdrop blur on mobile */
    .projects-items {
        backdrop-filter: none;
        background: rgba(227, 239, 240, 0.95);
    }

    /* Disable hover effects that cause repaints */
    .projects-items:hover .left-side-project img {
        transform: none !important;
        scale: 1 !important;
    }

    /* Reduce sticky element complexity */
    .work-section-tag {
        position: relative;
        top: 0;
    }

    .project-card {
        position: relative !important;
        top: 0 !important;
    }

}