/* ========================================
   MOONLIT STUDIOS - MAIN STYLES
   Hannah Pagade Portfolio
   ======================================== */

:root {
    /* Moonlit Studios Brand Palette - Moon, Ocean, Mermaid Theme */
    --midnight: #0A1128;
    --deep-ocean: #1B4965;
    --mermaid-teal: #4A9B9B;
    --lunar-gold: #FFD700;
    --moonlight-silver: #E8E8E8;
    --pearl-white: #FAFAFA;
    --starlight: #CAE9FF;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   ACCESSIBILITY & PROFESSIONAL POLISH
   ======================================== */

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

/* Skip to main content link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0A1128;
    color: #FFFFFF;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Focus indicators for keyboard navigation */
*:focus {
    outline: 3px solid #4A9B9B;
    outline-offset: 2px;
}

a:focus, button:focus {
    outline: 3px solid #4A9B9B;
    outline-offset: 2px;
}

/* Remove focus outline for mouse users, keep for keyboard users */
*:focus:not(:focus-visible) {
    outline: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FFFFFF;
    color: #0A1128;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    cursor: default;
}

/* ========================================
   STARDUST CURSOR ANIMATION
   ======================================== */

.stardust {
    position: fixed;
    pointer-events: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lunar-gold) 0%, var(--mermaid-teal) 50%, transparent 100%);
    opacity: 0;
    z-index: 9999;
    animation: stardustFade 0.8s ease-out forwards;
    box-shadow: 0 0 10px var(--lunar-gold), 0 0 20px var(--mermaid-teal);
}

@keyframes stardustFade {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(-20px);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0A1128;
}

p {
    color: #1B4965;
    line-height: 1.7;
}

/* Images - responsive and accessible */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   EPIC NAVIGATION
   ======================================== */

.epic-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(74, 155, 155, 0.4);
    box-shadow: 0 4px 20px rgba(74, 155, 155, 0.15);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #4A9B9B;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A9B9B, #FFD700);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(74, 155, 155, 0.6);
}

.nav-link:hover {
    color: #4A9B9B;
    text-shadow: 0 0 10px rgba(74, 155, 155, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #4A9B9B 0%, #1B4965 100%);
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 155, 155, 0.5);
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(74, 155, 155, 0.8);
    background: linear-gradient(135deg, #FFD700 0%, #4A9B9B 100%);
}

/* Hero Section - Moonlit Ocean Theme */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, 
            #0A1128 0%, 
            #1B4965 40%,
            #4A9B9B 70%,
            #1B4965 90%,
            #0A1128 100%
        );
    position: relative;
    overflow: hidden;
}

/* MOONLIT STARS BACKGROUND */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(202, 233, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.7), transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent),
        radial-gradient(1px 1px at 150px 120px, rgba(202, 233, 255, 0.8), transparent);
    background-size: 200px 200px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkleStars 25s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes twinkleStars {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 10;
    color: white;
    padding: 2rem;
    max-width: 1200px;
}

/* Availability Badge - Moonlit Glow */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 155, 155, 0.2);
    border: 2px solid var(--mermaid-teal);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(74, 155, 155, 0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(74, 155, 155, 0.4);
    }
    50% { 
        box-shadow: 0 0 30px rgba(74, 155, 155, 0.7);
    }
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--mermaid-teal);
    border-radius: 50%;
    animation: moonPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(74, 155, 155, 0.8);
}

@keyframes moonPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.hero-heading {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.name-text {
    display: block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    animation: nameGlow 3s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.7));
    }
}

.tagline-container {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    min-height: 1.5em;
    letter-spacing: -0.01em;
}

.static-part {
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.typing-text {
    background: linear-gradient(135deg, #4A9B9B 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(74, 155, 155, 0.5));
}

.cursor {
    color: var(--lunar-gold);
    animation: blink 1s infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #FFD700 !important;
    font-weight: 800;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.6);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: #FFFFFF !important;
    font-weight: 500;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 3rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.02em;
}

/* Stats Grid - Moonlit Elegance */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 900px;
    padding: 2rem;
    background: rgba(74, 155, 155, 0.08);
    border-radius: 20px;
    border: 2px solid rgba(74, 155, 155, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(10, 17, 40, 0.5);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(74, 155, 155, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lunar-gold), var(--mermaid-teal), transparent);
    animation: moonGlide 4s linear infinite;
}

@keyframes moonGlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(74, 155, 155, 0.15);
    border-color: var(--mermaid-teal);
    box-shadow: 0 10px 30px rgba(74, 155, 155, 0.5);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A9B9B 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    filter: drop-shadow(0 2px 10px rgba(74, 155, 155, 0.6));
}

.plus {
    font-size: 2rem;
    background: linear-gradient(135deg, #4A9B9B 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.stat-label {
    font-size: 0.85rem;
    color: #FFFFFF !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================
   SUPER VISIBLE BUTTONS WITH ANIMATIONS
   ======================================== */

.btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #4A9B9B 0%, #1B4965 100%);
    color: #FFFFFF !important;
    box-shadow: 
        0 6px 25px rgba(74, 155, 155, 0.6),
        0 0 0 0 rgba(74, 155, 155, 0.7);
    border: 3px solid transparent;
    animation: moonlitPulse 2s ease-in-out infinite;
}

@keyframes moonlitPulse {
    0%, 100% {
        box-shadow: 
            0 6px 25px rgba(74, 155, 155, 0.6),
            0 0 0 0 rgba(74, 155, 155, 0.7);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(74, 155, 155, 0.8),
            0 0 0 10px rgba(74, 155, 155, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 45px rgba(74, 155, 155, 0.9);
    background: linear-gradient(135deg, #FFD700 0%, #4A9B9B 100%);
    animation: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF !important;
    border: 3px solid #4A9B9B;
    box-shadow: 
        0 6px 20px rgba(74, 155, 155, 0.3),
        inset 0 0 20px rgba(74, 155, 155, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4A9B9B 0%, #FFD700 100%);
    border-color: #FFD700;
    color: #0A1128 !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 45px rgba(255, 215, 0, 0.8);
}

/* Scroll Indicator - Moonlit Style */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--starlight);
    text-shadow: 0 0 10px rgba(74, 155, 155, 0.6);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 3px solid var(--mermaid-teal);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 15px rgba(74, 155, 155, 0.5);
}

.wheel {
    width: 5px;
    height: 10px;
    background: var(--lunar-gold);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Sections */
.section-padding {
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #0D1B2A;
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--mermaid-teal), var(--lunar-gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 155, 155, 0.5);
}

.section-intro {
    text-align: center;
    color: #1B3A4B;
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    line-height: 1.8;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
    color: #0D1B2A;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: #1B3A4B;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 600;
    line-height: 1.7;
    font-weight: 600;
}

.bg-alternate {
    background: linear-gradient(135deg, var(--pearl-white) 0%, rgba(74, 155, 155, 0.05) 100%);
}

/* Trifecta Section */
.trifecta {
    margin-top: 4rem;
}

.trifecta h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--deep-ocean);
}

.trifecta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.trifecta-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.trifecta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 155, 155, 0.2);
    border-color: var(--mermaid-teal);
}

.trifecta-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.trifecta-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--deep-ocean);
}

.trifecta-card p {
    color: #1B4965;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card.featured {
    border: 3px solid var(--mermaid-teal);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(74, 155, 155, 0.15);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--mermaid-teal);
}

.service-card.featured:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(74, 155, 155, 0.2);
}

.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-ocean);
}

.service-rate {
    font-size: 1.5rem;
    color: var(--mermaid-teal);
    font-weight: 700;
    margin: 1rem 0;
    display: block;
}

.service-card p {
    color: #1B4965;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #1B4965;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--mermaid-teal);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-ocean);
}

.project-content p {
    color: #1B4965;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tech-stack span {
    background: var(--starlight);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-ocean);
}

/* Portfolio section smaller utilities */
.section-padding {
    padding: 6rem 2rem;
}

.section-title { text-align: center; font-size: 3rem; margin-bottom: 0.5rem; color: #0A1128; font-weight: 800; }
.section-intro { text-align: center; color: #1B4965; margin-bottom: 2.5rem; font-size: 1.1rem; font-weight: 500; }

.portfolio-controls { display:flex; justify-content:center; margin-bottom: 1.5rem; }
.filter-buttons { display:flex; gap:0.75rem; }
.filter-btn {
    background: transparent;
    border: 2px solid var(--moonlight-silver);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: #0A1128;
    transition: all 0.25s ease;
}
/* Enhanced contrast: Deep ocean provides 7.2:1 contrast ratio with white text */
.filter-btn.active, .filter-btn:hover { 
    background: var(--deep-ocean); 
    color: white; 
    border-color: var(--deep-ocean); 
    transform: translateY(-3px); 
}

.project-image-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: var(--midnight); }
.project-video { position: absolute; top:0; left:0; width:100%; height:100%; }
.project-video iframe { width:100%; height:100%; border:0; display:block; background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean)); }

.project-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color: var(--white); opacity:0; transition:opacity 0.25s ease, background 0.25s ease; background: linear-gradient(180deg, rgba(10, 17, 40, 0.0), rgba(10, 17, 40, 0.35)); }
.project-card:hover .project-overlay { opacity:1; }
.view-details { background: rgba(10, 17, 40, 0.45); padding:0.6rem 1rem; border-radius:8px; font-weight:700; }

.featured-badge { position:absolute; top:12px; left:12px; background: var(--lunar-gold); color: var(--midnight); padding:0.4rem 0.8rem; font-weight:800; border-radius:6px; z-index:5; font-size:0.85rem; box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); }

.project-metrics { display:flex; gap:1rem; margin-top:1rem; }
.project-metrics .metric { display:flex; gap:0.5rem; align-items:center; color: var(--deep-ocean); font-weight:700; }
.metric-icon { color:var(--mermaid-teal); font-weight:900; }

.tech-badge { background: transparent; border:1px solid var(--moonlight-silver); padding:0.3rem 0.6rem; border-radius:12px; font-size:0.85rem; }

.btn-project { display:inline-block; padding:0.7rem 1.1rem; background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean)); color: white; border-radius:8px; font-weight:800; text-decoration:none; margin-top:1rem; }

/* Responsive tweaks */
@media (max-width: 820px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.4rem; }
}

/* Peacock Scroll Button */
.peacock-scroll-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mermaid-teal), var(--mermaid-teal));
    border: none;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 155, 155, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.peacock-scroll-btn.visible {
    opacity: 1;
    visibility: visible;
}

.peacock-scroll-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 30px rgba(74, 155, 155, 0.6);
}

/* ========================================
   FUNCTIONAL CONTACT FORM
   ======================================== */

/* Contact Wrapper - 2 Column Grid */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Contact Form Styling */
.contact-form {
    background: linear-gradient(135deg, rgba(27, 73, 101, 0.05), rgba(74, 155, 155, 0.05));
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(10, 17, 40, 0.3);
}

/* Form Row - Side by Side Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--lunar-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Input Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(10, 17, 40, 0.6);
    border: 2px solid rgba(74, 155, 155, 0.3);
    border-radius: 8px;
    color: var(--moonlight-silver);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(232, 232, 232, 0.5);
}

/* Focus States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mermaid-teal);
    background: rgba(10, 17, 40, 0.8);
    box-shadow: 0 0 0 4px rgba(74, 155, 155, 0.1);
}

/* Textarea Specific */
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Form Submit Button */
.btn-form {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Form Note */
.form-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--lunar-gold);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--moonlight-silver);
}

.form-note strong {
    color: var(--lunar-gold);
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(27, 73, 101, 0.1), rgba(74, 155, 155, 0.1));
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid rgba(74, 155, 155, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--mermaid-teal);
    box-shadow: 0 8px 24px rgba(74, 155, 155, 0.2);
}

.contact-card h3 {
    color: var(--lunar-gold);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-card a {
    color: var(--starlight);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--mermaid-teal);
    text-decoration: underline;
}

.contact-card p {
    color: var(--moonlight-silver);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.contact-card .note {
    font-size: 0.85rem;
    color: rgba(232, 232, 232, 0.6);
    margin-top: 0.5rem;
}

/* Availability Card Special Styling */
.availability-card {
    background: linear-gradient(135deg, rgba(74, 155, 155, 0.15), rgba(255, 215, 0, 0.05));
    border-color: var(--mermaid-teal);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean));
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Mobile Responsive - Stack Columns */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ========================================
   EPIC FOOTER
   ======================================== */

.epic-footer {
    background: linear-gradient(135deg, #0A1128 0%, #1B4965 100%);
    color: #FAFAFA;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.epic-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #4A9B9B, #FFD700);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.moon-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.footer-tagline {
    font-size: 1.25rem;
    color: #4A9B9B;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-motto {
    color: #E8E8E8;
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.6;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #FAFAFA;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #4A9B9B;
    padding-left: 5px;
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-contact strong {
    color: #FFD700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact a {
    color: #4A9B9B;
    font-weight: 600;
}

.availability {
    background: rgba(74, 155, 155, 0.2);
    border: 2px solid #4A9B9B;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 2px solid rgba(74, 155, 155, 0.3);
    padding-top: 2rem;
    text-align: center;
}

.footer-gradient-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #4A9B9B, #FFD700);
    margin: 0 auto 1.5rem;
}

.footer-bottom p {
    color: #E8E8E8;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #4A9B9B;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* About Section Styles */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 5rem;
}

.video-wrapper {
    position: sticky;
    top: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean));
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #1B4965;
    font-style: italic;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1B4965;
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-ocean);
    line-height: 1.7;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(74, 155, 155, 0.1), rgba(27, 73, 101, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--mermaid-teal);
    margin-top: 2rem;
}

.unique-value {
    margin-top: 5rem;
}

.unique-value h3 {
    font-size: 2rem;
    text-align: center;
    color: var(--deep-ocean);
    margin-bottom: 3rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--mermaid-teal);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.5rem;
    color: var(--deep-ocean);
    margin-bottom: 1rem;
}

.value-card p {
    color: #1B4965;
    line-height: 1.7;
}

/* Skills Section Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.skill-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--deep-ocean);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--mermaid-teal);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--deep-ocean);
}

.skill-percent {
    font-weight: 700;
    color: var(--mermaid-teal);
}

.skill-bar {
    height: 10px;
    background: rgba(74, 155, 155, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mermaid-teal), var(--deep-ocean));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
}

.skill-fill.animate {
    width: var(--skill-width);
}

/* ============================================
   SERVICES SECTION
============================================ */
.bg-alternate {
    background: linear-gradient(135deg, rgba(250, 249, 246, 0.6), rgba(245, 243, 238, 0.8));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 2px solid transparent;
}

.service-card.featured {
    border-color: var(--mermaid-teal);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(74, 155, 155, 0.25);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: var(--mermaid-teal);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--mermaid-teal);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(74, 155, 155, 0.4);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--mermaid-teal);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--midnight);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-description {
    color: #1B4965;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.price-tag {
    background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean));
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    margin: 1.5rem 0;
    color: white;
}

.price-tag .starting,
.price-tag .hourly {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.price-tag .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-features li {
    padding: 0.6rem 0;
    color: #0A1128;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features .check {
    color: var(--deep-ocean);
    font-weight: 900;
    margin-right: 0.5rem;
}

.btn-service {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--mermaid-teal), var(--deep-ocean));
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-service:hover {
    background: var(--deep-ocean);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 73, 101, 0.4);
}

.btn-service.btn-popular {
    background: linear-gradient(135deg, var(--mermaid-teal), var(--starlight));
    color: var(--midnight);
    box-shadow: 0 4px 15px rgba(74, 155, 155, 0.3);
}

.btn-service.btn-popular:hover {
    background: var(--deep-ocean);
    color: white;
}

.retainer-option {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--deep-ocean), var(--mermaid-teal));
    border-radius: 20px;
    text-align: center;
    color: white;
}

.retainer-option h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.retainer-option p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #1B4965;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 2rem;
    min-width: 40px;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--midnight);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--mermaid-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--deep-ocean);
    text-decoration: underline;
}

.availability {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(107, 124, 89, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--deep-ocean);
}

.availability h4 {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 1rem;
}

.availability .status {
    color: var(--deep-ocean);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--moonlight-silver);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--mermaid-teal);
    box-shadow: 0 0 0 3px rgba(74, 155, 155, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(107, 124, 89, 0.1);
    color: var(--deep-ocean);
    border: 2px solid var(--deep-ocean);
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid #dc3545;
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--midnight);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--mermaid-teal);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--mermaid-teal);
}

.footer-links a,
.footer-social a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--mermaid-teal);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin: 0.5rem 0;
}

/* ============================================
   ANIMATIONS & EFFECTS
============================================ */

/* Fade-in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mermaid-teal), var(--deep-ocean));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Focus indicators for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--mermaid-teal);
    outline-offset: 2px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Particle canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

/* Custom cursor trail */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 9999;
    animation: cursorFade 0.6s ease-out forwards;
}

@keyframes cursorFade {
    to {
        transform: scale(0);
        opacity: 0;
    }
}

/* Button gradient animation */
.btn {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Counter animation (handled by JS) */
.counter {
    font-weight: 700;
    color: var(--mermaid-teal);
}

/* Parallax effect (subtle) */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading states */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-wrapper {
        position: relative;
        top: 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 4rem 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .retainer-option {
        padding: 2rem 1.5rem;
    }
    
    .price-tag .price {
        font-size: 2rem;
    }
}

/* ========================================
   PRINT STYLES FOR PROFESSIONAL PRINTING
   ======================================== */

@media print {
    /* Hide non-essential elements when printing */
    .no-print,
    .hero-cta,
    .scroll-indicator,
    .filter-buttons,
    #particles-canvas,
    button,
    .btn {
        display: none !important;
    }
    
    /* Remove backgrounds to save ink */
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white !important;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        color: black;
    }
    
    .name-text {
        -webkit-text-fill-color: #0A1128;
        color: #0A1128;
    }
    
    /* Make links visible with URLs */
    a {
        color: #0A1128;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-style: italic;
    }
    
    /* Avoid page breaks inside elements */
    .service-card,
    .project-card,
    .value-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--moonlight-silver);
    }
    
    /* Ensure good spacing */
    h1, h2, h3 {
        page-break-after: avoid;
        color: #0A1128;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    /* Remove shadows and transitions */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        transition: none !important;
    }
}

/* ========================================
   EPIC STARDUST CURSOR TRAIL
   ======================================== */

.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FFD700, #4A9B9B);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: fade 0.5s ease-out;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes fade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}
