@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/font.woff2') format('woff2');
    font-weight: 100 900; /* range of supported weights */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/italic.woff2') format('woff2');
    font-weight: 100 900; /* range of supported weights */
    font-style: italic;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded/font.woff2') format('woff2');
    font-weight: 100 900; /* range of supported weights */
    font-style: normal;
}

:root {
    --vibrant-pink: #FF1493;
    --soft-pink: #FF85A1;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-text: #2C2C2C;
    --pink-glow: rgba(255, 20, 147, 0.4);
    --soft-pink-glow: rgba(255, 133, 161, 0.4);
    
    /* Enhanced liquid animation timing */
    --smooth-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bouncy-ease: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --liquid-ease: cubic-bezier(0.23, 1, 0.32, 1);
    --bubble-ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Cohesive timing for all animations */
    --timing-fast: 0.4s;
    --timing-medium: 0.8s;
    --timing-slow: 1.2s;
    --timing-extra-slow: 1.8s;
}

/* Fix blur inheritance and performance issues */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Unbounded', sans-serif;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    transform-origin: center;
    backface-visibility: hidden;
    transform-style: flat; /* Prevent 3D context issues */

}

.genai, label, p, a, input, textarea, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}
 
article p:not(:first-of-type) {
    padding-top: 1rem !important;
}

html, body {
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
    position: relative;
}

#page-wrap {
    animation: pageEntrance 1.2s var(--liquid-ease) forwards;
}

/* Fixed page entrance animation - removed problematic blur */
@keyframes pageEntrance {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fixed header with optimized transforms and backdrop-filter */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 3.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    background-color: var(--white);
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.1);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom: 1px solid var(--soft-pink);
    overflow: visible;
    /* Fix transform issues */
    transform: translateY(0) translateZ(0);
    will-change: transform;
    transition: transform 0.6s var(--liquid-ease),
                background 0.6s var(--liquid-ease),
                box-shadow 0.6s var(--liquid-ease);
}

/* Simplified header states */
header.header-hidden {
    transform: translateY(-100%) translateZ(0);
}

header.header-visible {
    transform: translateY(0) translateZ(0);
    /* Optimized backdrop-filter */
    backdrop-filter: blur(20px) saturate(2);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.2);
}

.logo {
    height: 4.0625rem;
    width: 4.0625rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    filter: drop-shadow(0 8px 24px rgba(255, 20, 147, 0.2));
    pointer-events: auto;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.8s var(--bubble-ease);
    animation: logoFloat 1.5s var(--bubble-ease) forwards 0.3s,
               logoGlow 3s ease-in-out infinite 2s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo:hover {
    transform: translate(-50%, -50%) scale(0.9) rotate(5deg) translateZ(0);
    filter: drop-shadow(0 12px 32px rgba(255, 20, 147, 0.3));
}

/* Logo floating and glowing animations */
@keyframes logoFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translateY(-30px) rotate(-10deg);
    }
    60% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1) translateY(5px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0) rotate(0deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 8px 24px rgba(255, 20, 147, 0.2));
    }
    50% {
        filter: drop-shadow(0 8px 24px rgba(255, 20, 147, 0.3)) 
                drop-shadow(0 0 20px rgba(255, 133, 161, 0.2));
    }
}

.no-transition,
.no-transition * {
    transition: none !important;
}

.hero {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 0 1rem;
    padding-top: 9rem;
    padding-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.1);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom: 1px solid var(--soft-pink);
}

/* Force hardware acceleration for critical elements */
.hero-content {
    width: 100%;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: heroContentRise 1.8s var(--bubble-ease) forwards 0.3s;
}

/* Fixed hero content animation - removed problematic blur filters */
@keyframes heroContentRise {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    40% {
        opacity: 0.6;
        transform: translateY(20px) scale(0.98);
    }
    70% {
        opacity: 0.9;
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero h1 {
    font-size: 3rem;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 900;
    position: relative;
    padding: 0;
    display: inline-block;
}

.highlight {
    color: var(--vibrant-pink);
    display: inline-block;
    position: relative;
    transition: all 0.8s var(--liquid-ease);
    animation: highlightPulse 4s ease-in-out infinite 3s;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: rgba(255, 133, 161, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
    transform: skewX(-15deg);
    transition: all 0.8s var(--liquid-ease);
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.1);
    border-radius: 4px;
}

.highlight:hover {
    color: var(--dark-text);
    transform: translateY(-2px);
}

.highlight:hover::after {
    height: 18px;
    background: var(--soft-pink-glow);
    transform: skewX(-25deg) translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 133, 161, 0.4);
}

/* Subtle pulsing animation */
@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.alt-highlight {
    color: var(--soft-pink);
    display: inline-block;
    position: relative;
    transition: all 0.8s var(--liquid-ease);
    animation: highlightPulse 4s ease-in-out infinite 3.5s;
}

.alt-highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: rgba(255, 20, 147, 0.15);
    bottom: 5px;
    left: 0;
    z-index: -1;
    transform: skewX(15deg);
    transition: all 0.8s var(--liquid-ease);
    box-shadow: 0 8px 24px rgba(255, 133, 161, 0.1);
    border-radius: 4px;
}


.alt-highlight:hover {
    color: var(--dark-text);
    transform: translateY(-2px);
}

.alt-highlight:hover::after {
    height: 18px;
    background: var(--pink-glow);
    transform: skewX(25deg) translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 20, 147, 0.25);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    line-height: 1.5;
    animation: textFadeIn 2s var(--smooth-ease) forwards 0.8s;
    opacity: 0;
}

/* Fixed text fade animation - removed blur */
@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optimized blob animations */
.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    will-change: transform, border-radius;
    transition: none; /* Remove conflicting transitions */
    pointer-events: none;
    /* Add containment for better performance */
    contain: layout style paint;
}

.blob-1 {
    width: 80vw;
    height: 80vw;
    max-width: 1200px;
    max-height: 1200px;
    min-width: 600px;
    min-height: 600px;
    background: radial-gradient(circle at 30% 40%, var(--soft-pink), rgba(255, 133, 161, 0.6));
    top: -15%;
    right: -25%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: 1;
    /* Simplified animations */
    animation: liquidBlob1 20s linear infinite alternate,
               floatBlob 25s linear infinite;
}

.blob-2 {
    width: 75vw;
    height: 75vw;
    max-width: 1100px;
    max-height: 1100px;
    min-width: 550px;
    min-height: 550px;
    background: radial-gradient(circle at 70% 60%, var(--vibrant-pink), rgba(255, 20, 147, 0.6));
    bottom: -25%;
    left: 10%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: 1;
    animation: liquidBlob2 22s linear infinite alternate,
               floatBlob 30s linear infinite reverse;
}

/* Enhanced liquid morphing animations */
@keyframes liquidBlob1 {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    20% {
        border-radius: 60% 40% 50% 50% / 30% 60% 70% 40%;
        transform: rotate(5deg) scale(1.05);
    }
    40% {
        border-radius: 50% 50% 40% 60% / 60% 40% 50% 40%;
        transform: rotate(10deg) scale(0.95);
    }
    60% {
        border-radius: 30% 70% 60% 40% / 50% 30% 40% 70%;
        transform: rotate(-5deg) scale(1.1);
    }
    80% {
        border-radius: 70% 30% 40% 60% / 40% 70% 30% 50%;
        transform: rotate(-10deg) scale(1.02);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes liquidBlob2 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(-8deg) scale(1.08);
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 70% 40% 60%;
        transform: rotate(12deg) scale(0.92);
    }
    75% {
        border-radius: 50% 50% 40% 60% / 60% 40% 50% 40%;
        transform: rotate(-6deg) scale(1.12);
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
}

/* Enhanced floating animation */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(40px, -30px) rotate(8deg);
    }
    40% {
        transform: translate(20px, 40px) rotate(15deg);
    }
    60% {
        transform: translate(-30px, 30px) rotate(-8deg);
    }
    80% {
        transform: translate(-10px, -20px) rotate(-15deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Enhanced background accents with bubble-like behavior */
.bg-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--vibrant-pink), transparent);
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    animation: bubblePulse 12s var(--smooth-ease) infinite alternate;
}

.bg-accent:nth-child(1) {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
    animation: bubblePulse 12s var(--smooth-ease) infinite alternate,
               bubbleFloat1 18s var(--liquid-ease) infinite;
}

.bg-accent:nth-child(2) {
    bottom: 30%;
    left: 15%;
    background: linear-gradient(45deg, var(--soft-pink), transparent);
    animation-delay: 4s;
    animation: bubblePulse 12s var(--smooth-ease) infinite alternate,
               bubbleFloat2 22s var(--liquid-ease) infinite reverse;
}

@keyframes bubblePulse {
    0% {
        transform: scale(1);
        opacity: 0.12;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.18;
    }
    100% {
        transform: scale(1);
        opacity: 0.12;
    }
}

@keyframes bubbleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.1); }
    50% { transform: translate(-10px, 25px) scale(0.9); }
    75% { transform: translate(-25px, -10px) scale(1.05); }
}

@keyframes bubbleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 20px) scale(1.15); }
    66% { transform: translate(25px, -20px) scale(0.85); }
}

.section {
    padding-top: 2.5rem;
    padding-right: 1rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    position: relative;
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: inherit;
}

a:hover {
    color: inherit;
    text-decoration: inherit;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 0;
    margin-bottom: 2.75rem;
    text-align: left;
    position: relative;
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: titleSlideIn 1.5s var(--bubble-ease) forwards;
}

/* Fixed title animation - removed blur */
@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio {
    background: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border: none;
}

.portfolio::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.03), rgba(255, 133, 161, 0.03));
    z-index: 0;
    pointer-events: none;
    animation: backgroundShimmer 8s ease-in-out infinite;
}

@keyframes backgroundShimmer {
    0%, 100% {
        background: linear-gradient(45deg, rgba(255, 20, 147, 0.03), rgba(255, 133, 161, 0.03));
    }
    50% {
        background: linear-gradient(45deg, rgba(255, 133, 161, 0.03), rgba(255, 20, 147, 0.03));
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 0;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    border: none;
}
 



.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 30px;
    transition: all 1s var(--bubble-ease);
    position: relative;
    border: 1px solid var(--soft-pink);
    overflow: hidden;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: cardRiseIn 1.2s var(--bubble-ease) forwards;
    animation-delay: calc(var(--card-index, 0) * 0.15s + 0.3s);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    contain: layout style paint;
}

/* Fixed card entrance animation - removed blur */
@keyframes cardRiseIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8) rotateX(15deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 133, 161, 0.05) 100%);
    z-index: -1;
    transition: all 0.8s var(--liquid-ease);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(2deg);
    border-color: rgba(255, 20, 147, 0.4);
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.2);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(255, 133, 161, 0.08) 100%);
}

#altsc:hover {
    transform: translateY(-15px) scale(1.03) rotateX(2deg);
    border-color: rgba(255, 133, 161, 0.4);
    box-shadow: 0 20px 60px rgba(255, 133, 161, 0.2);
    background: linear-gradient(135deg, rgba(255, 133, 161, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Enhanced underline animations with liquid feel */
.underline-wrapper {
    display: block;
    margin-bottom: 1rem;
    margin-top: 0;
    position: relative;
    transition: all 0.6s var(--liquid-ease);
}

#altsc .underline-wrapper {
    transition: all 0.8s var(--liquid-ease);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#altsc .underline-wrapper:has(h2:hover) {
    margin-bottom: calc(1rem + 10px);
    transform: translateY(-2px);
}

#altsc h2 {
    color: var(--soft-pink);
    margin: 0;
    transition: all 0.8s var(--liquid-ease);
    position: relative;
    display: inline;
}

#altsc h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--soft-pink), rgba(255, 133, 161, 0.6));
    border-radius: 2px;
    transition: width 0.8s var(--liquid-ease), height 0.4s ease;
}

#altsc h2:hover::after {
    width: 100%;
    height: 3px;
}

#altsc h2:hover {
    color: var(--dark-text);
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(255, 133, 161, 0.3);
}

.service-card .underline-wrapper {
    margin-bottom: 1rem;
    transition: all 0.6s var(--liquid-ease);
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--vibrant-pink);
    position: relative;
    display: inline;
    transition: all 0.8s var(--liquid-ease);
    padding-bottom: 3px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--vibrant-pink), rgba(255, 20, 147, 0.6));
    border-radius: 2px;
    transition: width 0.8s var(--liquid-ease), height 0.4s ease;
}

.service-card h3:hover::after {
    width: 100%;
    height: 3px;
}

.service-card h3:hover {
    color: var(--dark-text);
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
}

.service-card p {
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Enhanced badge animations with bubble effects */
.project-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    width: auto;
    max-width: fit-content;
    animation: badgeBounceIn 1.2s var(--bubble-ease) forwards;
    transition: all 0.6s var(--liquid-ease);
    box-shadow: 0 8px 24px rgba(255, 20, 147, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes badgeBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.badge-lime {
    background-color: rgba(255, 20, 147, 0.25);
    margin-bottom: 1.25rem;
    margin-top: 0.25rem;
    color: var(--vibrant-pink);
    border: 2px solid var(--vibrant-pink);
}

.badge-lime:hover {
    background-color: rgba(255, 20, 147, 0.3);
    box-shadow: 0 12px 32px rgba(255, 20, 147, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.badge-pink {
    background-color: rgba(255, 133, 161, 0.25);
    margin-bottom: 1.25rem;
    margin-top: 0.25rem;
    color: var(--soft-pink);
    border: 2px solid var(--soft-pink);
}

.badge-pink:hover {
    background-color: rgba(230, 108, 136, 0.3);
    box-shadow: 0 12px 32px rgba(230, 108, 136, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.badge-white {
    background-color: rgba(44, 44, 44, 0.25);
    margin-bottom: 1.25rem;
    margin-top: 0.25rem;
    color: var(--dark-text);
    border: 2px solid var(--dark-text);
}

.badge-white:hover {
    background-color: rgba(44, 44, 44, 0.3);
    box-shadow: 0 12px 32px rgba(44, 44, 44, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.badge-platforms {
    background-color: rgba(255, 20, 147, 0.25);
    color: var(--vibrant-pink);
    transition: all 0.6s var(--liquid-ease);
border: 2px solid var(--vibrant-pink);
margin: 0;
}

.badge-platforms:hover {
background-color: rgba(255, 20, 147, 0.3);
transform: translateY(-2px) scale(1.03);
box-shadow: 0 8px 20px rgba(255, 20, 147, 0.2);
}

.badge-misc {
background-color: rgba(255, 133, 161, 0.25);
color: var(--soft-pink);
transition: all 0.6s var(--liquid-ease);
border: 2px solid var(--soft-pink);
margin: 0;
}

.badge-misc:hover {
background-color: rgba(230, 108, 136, 0.3);
transform: translateY(-2px) scale(1.03);
box-shadow: 0 8px 20px rgba(230, 108, 136, 0.2);
}

/* Enhanced card hover effects with liquid transitions */
.service-card:hover .badge-lime {
background-color: rgba(255, 20, 147, 0.3);
box-shadow: 0 12px 28px rgba(255, 20, 147, 0.25);
transform: translateY(-2px) scale(1.03);
}

.service-card:hover .badge-pink {
background-color: rgba(230, 108, 136, 0.3);
color: rgba(230, 108, 136);
box-shadow: 0 12px 28px rgba(230, 108, 136, 0.25);
margin-bottom: calc(1rem + 4px);
transform: translateY(-2px) scale(1.03);
}

.service-card:hover .badge-white {
background-color: rgba(44, 44, 44, 0.3);
box-shadow: 0 12px 28px rgba(44, 44, 44, 0.25);
margin-bottom: calc(1rem + 4px);
transform: translateY(-2px) scale(1.03);
}

.footer-links:hover .badge-platforms {
background-color: rgba(255, 20, 147, 0.3);
transform: translateY(-2px) scale(1.03);
box-shadow: 0 8px 20px rgba(255, 20, 147, 0.25);
}

.footer-links:hover .badge-misc {
background-color: rgba(230, 108, 136, 0.3);
transform: translateY(-2px) scale(1.03);
box-shadow: 0 8px 20px rgba(230, 108, 136, 0.25);
}


.service-card:hover h3 {
color: var(--dark-text);
transform: translateY(-2px);
text-shadow: 0 6px 12px rgba(255, 20, 147, 0.2);
}

.service-card:hover h3::after {
width: 100%;
height: 3px;
box-shadow: 0 2px 8px rgba(255, 20, 147, 0.2);
}
.service-card:hover .underline-wrapper {
margin-bottom: calc(1rem + 6px);
transform: translateY(-1px);
}


/* Enhanced footer with liquid animations */
footer {
padding: 2.5rem;
padding-top: 2rem;
padding-left: 1rem;
padding-right: 1rem;
text-align: center;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-top: 1px solid var(--soft-pink);
background: rgba(255, 255, 255, 0.9);
position: relative;
overflow: hidden;
box-shadow: 0 -8px 32px rgba(255, 20, 147, 0.1);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}

.footer-content {
display: flex;
justify-content: center;
padding: 0;
margin: 0;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
max-width: 100%;
width: 100%;
position: relative;
z-index: 2;
margin-top: 0.5rem;
transform: translateZ(0);
backface-visibility: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--vibrant-pink), var(--soft-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    position: relative;
    padding: 0;
    margin-top: 0;
    text-align: center;
    /* Fix: Include both transform and filter in transition */
    transition: transform 0.8s var(--bubble-ease), filter 0.8s var(--bubble-ease);
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(255, 20, 147, 0.25))
            drop-shadow(0 4px 8px rgba(255, 20, 147, 0.2))
            drop-shadow(0 8px 16px rgba(255, 20, 147, 0.15));
    animation: logoSparkle 1.8s var(--bubble-ease) forwards 0.3s;
}

/* Fixed logo sparkle animation - removed blur */
@keyframes logoSparkle {
0% {
opacity: 0;
transform: scale(0.5) translateY(30px) rotate(-5deg);
filter: drop-shadow(0 0 0 rgba(255, 20, 147, 0));
}
60% {
opacity: 0.8;
transform: scale(1.1) translateY(-5px) rotate(2deg);
filter: drop-shadow(0 4px 8px rgba(255, 20, 147, 0.2));
}
100% {
opacity: 1;
transform: scale(1) translateY(0) rotate(0deg);
filter: drop-shadow(0 2px 4px rgba(255, 20, 147, 0.25))
drop-shadow(0 4px 8px rgba(255, 20, 147, 0.2))
drop-shadow(0 8px 16px rgba(255, 20, 147, 0.15));
}
}

.footer-logo:hover {
transform: scale(0.9) rotate(-2deg);
filter: drop-shadow(0 6px 12px rgba(255, 20, 147, 0.3))
drop-shadow(0 8px 16px rgba(255, 133, 161, 0.2));
}

.footer-links {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;  
transition: all 0.8s var(--liquid-ease);
text-align: center;
}

.footer-links {
    transform-style: preserve-3d;
}

.footer-links:hover:has(a) {
    transform: translateY(-3px) scale(1.02);
}

.footer-links a {
color: var(--dark-text);
transition: all 0.8s var(--liquid-ease);
opacity: 0;
animation: linkSlideIn 1.2s var(--bubble-ease) forwards;
animation-delay: calc(var(--link-index, 0) * 0.1s + 0.5s);
text-decoration: none;
position: relative;
padding: 6px 0;
font-size: 1.2rem;
display: inline;
}

/* Fixed link slide animation - removed blur */
@keyframes linkSlideIn {
0% {
opacity: 0;
transform: translateY(20px) scale(0.8);
}
60% {
opacity: 0.8;
transform: translateY(-3px) scale(1.05);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--soft-pink), rgba(255, 133, 161, 0.6));
    border-radius: 2px;
    transition: width 0.8s var(--liquid-ease), height 0.4s ease;
}

.footer-links a:hover::after {
width: 100%;
height: 3px;
}

.hero-a {
display: inline;
color: var(--vibrant-pink);
text-decoration: none;
transition: all 0.8s var(--liquid-ease);
opacity: 0;
animation: linkSlideIn 1.2s var(--bubble-ease) forwards;
animation-delay: calc(var(--link-index, 0) * 0.1s + 0.5s);
position: relative;
padding: 6px 0;
}

.hero-a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background: linear-gradient(90deg, var(--vibrant-pink), rgba(255, 20, 147, 0.6));
    border-radius: 2px;
    transition: width 0.8s var(--liquid-ease), height 0.4s ease;
}

.hero-a:hover::after {
width: 100%;
height: 3px;
}

.hero-a:hover {
color: var(--dark-text);
text-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
}

.alt-a {
display: inline;
color: var(--soft-pink);
text-decoration: none;
transition: all 0.8s var(--liquid-ease);
opacity: 0;
animation: linkSlideIn 1.2s var(--bubble-ease) forwards;
animation-delay: calc(var(--link-index, 0) * 0.1s + 0.5s);
position: relative;
padding: 6px 0;
}


.alt-a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background: linear-gradient(90deg, var(--soft-pink), rgba(255, 133, 161, 0.6));
    border-radius: 2px;
    transition: width 0.8s var(--liquid-ease), height 0.4s ease;
}

.alt-a:hover::after {
width: 100%;
height: 3px;
}

.alt-a:hover {
color: var(--dark-text);
text-shadow: 0 4px 8px rgba(255, 133, 161, 0.3);
}

.div-a {
margin-bottom: 0;
transition: all 0.6s var(--liquid-ease);
display: inline-block;  
vertical-align: baseline;
}

.div-a:has(.alt-a:hover, .hero-a:hover) {
transform: translateY(-3px) scale(1.02);
}

.footer-links a:hover {
color: var(--vibrant-pink);
transform: translateY(-3px) scale(1.02);
text-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
}

.footer-links a:hover::after {
width: 100%;
background: linear-gradient(90deg, var(--vibrant-pink), rgba(255, 20, 147, 0.6));
}

.footer-text {
width: 100%;
margin-top: 1.5rem;
color: rgba(44, 44, 44, 0.6);
font-size: 1rem;
text-align: center;
opacity: 0;
animation: textGlowIn 1.5s var(--smooth-ease) forwards 1.2s;
}

/* Fixed text glow animation - removed blur */
@keyframes textGlowIn {
0% {
opacity: 0;
transform: translateY(15px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

/* Enhanced search input with liquid feel */
#projectSearch {
width: 100%;
background: rgba(255, 255, 255, 0.9);
padding: 1.5rem;
border-radius: 30px;
transition: all 0.8s var(--liquid-ease);
font-size: 1rem;
border: 2px solid var(--soft-pink);
color: var(--dark-text);
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.1);
outline: none;
opacity: 0;
animation: searchSlideIn 1.2s var(--bubble-ease) forwards 0.5s;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
}

/* Fixed search slide animation - removed blur */
@keyframes searchSlideIn {
0% {
opacity: 0;
transform: translateY(30px) scale(0.95);
}
60% {
opacity: 0.8;
transform: translateY(-5px) scale(1.02);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}

#projectSearch::placeholder {
color: rgba(44, 44, 44, 0.5);
transition: all 0.6s var(--liquid-ease);
}

#projectSearch:focus, #projectSearch:hover {
border-color: rgba(255, 20, 147, 0.4);
box-shadow: 0 20px 60px rgba(255, 20, 147, 0.2);
background: linear-gradient(135deg, rgba(255, 20, 147, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
color: var(--dark-text);
transform: translateY(-2px) scale(1.01);
}

#projectSearch:focus::placeholder, #projectSearch:hover::placeholder {
color: var(--dark-text);
transform: translateX(5px);
}

/* Enhanced pulse animation for accents */
@keyframes pulse {
0% {
transform: scale(1);
opacity: 0.12;
}
50% {
transform: scale(1.4);
opacity: 0.2;
filter: blur(90px);
}
100% {
transform: scale(1);
opacity: 0.12;
filter: blur(80px);
}
}

/* Enhanced shimmer effect */
@keyframes shimmer {
0% {
left: -100%;
opacity: 0;
}
50% {
opacity: 1;
}
100% {
left: 100%;
opacity: 0;
}
}

/* Optimized performance for animations */
@media (prefers-reduced-motion: no-preference) {
.blob, .service-card, .highlight, .alt-highlight, .footer-links a, .alt-a,
.logo, .footer-logo, #projectSearch, .project-badge {
will-change: transform, opacity;
}
}

/* ===========================
Mobile Performance Tweaks
=========================== */
@media (max-width: 768px) {
html {
font-size: 90%;
}

/* Header: lighter blur, reduce shadow */
header.header-visible {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 3px 12px rgba(255, 20, 147, 0.15);
}

/* Service cards: reduce blur, keep transform on hover */
.service-card {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 28px rgba(255, 20, 147, 0.15);
}

/* #altsc container: keep scale transform on hover */
#altsc {
    transition: transform 0.4s ease;
}

#altsc:hover {
    transform: scale(1.02);
}

/* Blobs: tone down heavy filters */
.blob {
    filter: blur(60px);
    opacity: 0.25;
}

/* Footer: reduce blur for smoother scroll */
footer {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
}

/* Enhanced wide screen support */
@media screen and (min-width: 1200px) {
.blob-1 {
width: 90vw;
height: 90vw;
top: -20%;
right: -25%;
filter: blur(120px);
}

.blob-2 {
    width: 85vw;
    height: 85vw;
    bottom: -30%;
    left: -20%;
    filter: blur(120px);
}
}

@media screen and (min-width: 1600px) {
.blob-1 {
width: 100vw;
height: 100vw;
top: -25%;
right: -30%;
filter: blur(140px);
}

.blob-2 {
    width: 95vw;
    height: 95vw;
    bottom: -35%;
    left: -25%;
    filter: blur(140px);
}
}

/* Additional liquid bubble effects for enhanced vibrancy */
.liquid-particle {
position: absolute;
width: 4px;
height: 4px;
background: var(--vibrant-pink);
border-radius: 50%;
opacity: 0.6;
animation: particleFloat 8s linear infinite;
pointer-events: none;
}

@keyframes particleFloat {
0% {
transform: translateY(100vh) scale(0);
opacity: 0;
}
10% {
opacity: 0.6;
transform: translateY(90vh) scale(1);
}
90% {
opacity: 0.6;
transform: translateY(10vh) scale(1);
}
100% {
transform: translateY(0) scale(0);
opacity: 0;
}
}