/* --- Scrollbar CSS --- */

.hide-scrollbar {
    /* Firefox */
    scrollbar-width: none !important;

    /* IE/Edge */
    -ms-overflow-style: none !important;
}

/* Chrome/Safari/Edge/Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
}

.scrollbar {
    position: fixed;
    top: 50%;
    right: 20px;
    width: 4px;
    height: 150px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    z-index: 9999;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.scrollbar.visible {
    opacity: 1;
    pointer-events: auto;
}

.thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: linear-gradient(180deg, #3b82f6, #9333ea);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.scrollbar.visible .thumb {
    background-color: linear-gradient(180deg, #60a5fa, #a855f7);
}

@media (max-width: 576px) {
    .scrollbar {
        display: none;
    }
}

.zen {
    font-family: "Yesteryear", cursive;
    font-size: 60px;
}

.studios {
    font-family: "Yesteryear", cursive;
    font-size: 30px;
}

/* --- 3. LAYOUT & UTILITIES --- */
.py-section {
    padding: var(--section-padding) 0;
}

.bg-neutral-light {
    background-color: var(--neutral-light);
}

.bg-neutral-dark {
    background-color: var(--neutral-dark);
}

.text-accent {
    color: var(--accent);
}

.text-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* --- 4. NAVIGATION --- */
#mainNav {
    padding: 10px 0;
    transition: transform 0.5s cubic-bezier(0.694, 0.048, 0.335, 1),
        background-color 0.3s ease,
        padding 0.3s ease;
    will-change: transform;
    background: transparent;
}

#mainNav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
}

#mainNav.hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--neutral-dark) !important;
}

[data-theme="dark"] .navbar-brand {
    color: #F9FAFB !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-body);
        padding-top: 80px;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1040;
    }

    /* When menu is open */
    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-toggler {
        z-index: 1050;
        /* Above the overlay */
        border: none;
    }
}


/* --- 6. BUTTONS --- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #357ABD;
    border-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.2);
}

.btn-outline-light {
    border-color: var(--neutral-dark);
    color: var(--neutral-dark);
}

[data-theme="dark"] .btn-outline-light {
    border-color: #F9FAFB;
    color: #F9FAFB;
}

.btn-outline-light:hover {
    background-color: var(--neutral-dark);
    color: #fff;
}

/* --- 7. SECTIONS --- */

/* Solution Section */
.pain-points-list,
.solution-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.pain-points-list li,
.solution-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.pain-points-list i,
.solution-list i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.solution-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-label {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1vw;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

/* Services Cards */
.service-card {
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-price {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* Portfolio */
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}



.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Adjust based on icon size */
    left: 10%;
    right: 10%;
    height: 2px;
    background: #E2E8F0;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-body);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.process-step:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
}

.marquee-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.marquee-content {
    flex-shrink: 0;
    /* Prevents shrinking */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

    /* Move exactly 50% (since we duplicated content) */
}