@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Clash Display', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Preloader start */
.preloader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-content {
    text-align: center;
}

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.3s ease;
}

/* Preloader end */
/* cursor start */
.cursor {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor.expanded {
    transform: scale(2);
}
/* cursor end */
/* project start */
.project-item {
    position: relative;
    overflow: hidden;
}

.project-image {
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.project-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* project end */

.marquee-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.magnetic-button {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: #0a0a0a;
    border-radius: 30px;
    cursor: none;
    transition: transform 0.2s ease;
}

.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #fff;
    transform: scale(1.5);
}

.smooth-image {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.smooth-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR START*/
.nav-link {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(0);
}

/* NAVBAR END */

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #fff;
}

/* Selected Work start*/
.project-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.project-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.project-image {
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .project-item {
        height: 400px !important;
        margin-bottom: 1rem;
    }
    .cursor {
        display: none;
    }
    .mobile-display-none {
        display: none;
    }
}

/* Selected Work end*/







