/* Shared styles for Kishore portfolio and project pages */
* { cursor: auto; border-radius: 2px !important; }
@media (min-width: 768px) { * { cursor: none !important; } }
html, body { border-radius: 0 !important; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
    scroll-behavior: smooth;
}

.noise::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 100;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

#cursor-dot, #cursor-outline { display: none; }
@media (min-width: 768px) {
    #cursor-dot {
        display: block;
        width: 6px;
        height: 6px;
        background: #14B8A6;
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50% !important;
        pointer-events: none;
        z-index: 10000;
        transition: transform 0.05s ease-out;
    }
    .light #cursor-dot { background: #2563EB; }

    #cursor-outline {
        display: block;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(20, 184, 166, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50% !important;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.15s ease-out;
    }
    .light #cursor-outline { border-color: rgba(37, 99, 235, 0.5); }
}

#floating-portrait {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    pointer-events: none;
    will-change: transform, opacity, visibility;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
}
.wave-icon {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave 2.5s infinite ease-in-out;
}

.service-content, .toolkit-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
}
.service-item.active .service-content,
.toolkit-item.active .toolkit-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}
.toolkit-item.active .toolkit-content {
    max-height: 500px;
    padding-bottom: 1rem;
}
.service-item.active h3,
.toolkit-item.active h4 { color: #14B8A6; }
.light .service-item.active h3,
.light .toolkit-item.active h4 { color: #2563EB; }

.tab-btn.active {
    background: #14B8A6;
    color: white;
    border-color: #14B8A6;
}
.light .tab-btn.active {
    background: #2563EB;
    color: white;
    border-color: #2563EB;
}

.project-item {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.project-item:hover {
    transform: translateY(-8px);
    border-color: #14B8A6;
}
.light .project-item:hover { border-color: #2563EB; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 9999px !important; }
