/* =========================================
   Premium Dark Theme CSS
   ========================================= */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;

    /* Neon Accents */
    --accent: #00f3ff;
    /* Neon Blue */
    --accent-glow: rgba(0, 243, 255, 0.5);
    --accent-secondary: #1d4ed8;
    /* Deep Blue */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Effects */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-blur: blur(16px);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.loading {
    overflow: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo,
.badge,
.hero-title,
.section-title {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.accent-text {
    background: linear-gradient(to right, var(--accent-secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Background Ambient Effects --- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -200px;
    animation-delay: -5s;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,%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)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    opacity: 0.4;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* --- Loader Intro --- */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: #030303;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.85, 0, 0.15, 1), 
                transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), 
                visibility 1s ease;
    overflow: hidden;
}

.loader-wrapper.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.loader-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(0, 243, 255, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: loaderGlowPulse 6s infinite alternate ease-in-out;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    text-align: center;
}

.loader-logo-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: #050505;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                inset 0 0 30px rgba(255, 255, 255, 0.02),
                0 0 30px rgba(212, 175, 55, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: rotateX(0deg) rotateY(0deg) scale(0.9);
    opacity: 0;
    animation: loaderLogoEntry 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.loader-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 30%,
        rgba(255, 215, 0, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 215, 0, 0.15) 55%,
        transparent 70%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    animation: loaderShineSweep 3.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-progress-container {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 35px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b38728, #fbf5b7, #b38728);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    transition: width 0.15s ease-out;
}

.loader-status {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.8);
    letter-spacing: 0.35em;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
    animation: loaderStatusPulse 2s infinite alternate ease-in-out;
}

/* Animations */
@keyframes loaderGlowPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.05);
        opacity: 1.2;
    }
}

@keyframes loaderLogoEntry {
    0% {
        opacity: 0;
        transform: rotateX(15deg) rotateY(-15deg) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0deg) rotateY(0deg) scale(1);
        filter: blur(0);
    }
}

@keyframes loaderShineSweep {
    0% {
        left: -150%;
    }
    40% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@keyframes loaderStatusPulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile responsive loader */
@media (max-width: 768px) {
    .loader-logo-container {
        width: 260px;
        height: 260px;
        border-radius: 16px;
    }
    .loader-bg-glow {
        width: 400px;
        height: 400px;
    }
    .loader-progress-container {
        width: 180px;
    }
}

/* --- Glassmorphism UI --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn i {
    font-size: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Button Control Variables */
:root {
    --btn-glow-opacity: 0.35;
    --btn-glow-hover-opacity: 0.5;
}

/* ── Primary Button: "View My Work" ── */
.btn-primary {
    background: linear-gradient(110deg, var(--accent) 0%, #0ea5e9 45%, var(--accent-secondary) 100%);
    color: #000;
    font-weight: 700;
    border: none;
    box-shadow:
        0 0 15px rgba(0, 243, 255, var(--btn-glow-opacity)),
        0 0 30px rgba(0, 243, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer sweep on primary */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.6s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.btn-primary:hover::before {
    background-position: 200% 0;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 0 25px rgba(0, 243, 255, var(--btn-glow-hover-opacity)),
        0 0 50px rgba(0, 243, 255, 0.25),
        0 8px 28px rgba(0, 0, 0, 0.4);
    color: #000;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

/* ── Secondary Button ── */
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.5);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 243, 255, 0.15);
}

/* ── Outline Button: "Let's Talk" ── */
.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(0, 243, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Inward glow ring on hover */
.btn-outline::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(0,243,255,0.18) 0%, rgba(29,78,216,0.18) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(0, 243, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(0, 243, 255, 0.35),
        0 0 40px rgba(0, 243, 255, 0.15),
        inset 0 0 12px rgba(0, 243, 255, 0.08);
}

.btn-outline > * {
    position: relative;
    z-index: 1;
}

.btn-nav {
    padding: 10px 24px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    border: none;
    border-radius: 30px;
    font-size: 0.875rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transition: var(--transition-fast);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

/* Scroll Progress */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}


/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 80px;
}

.navbar.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.logo-animated {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

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

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

.btn-nav {
    padding: 12px 28px;
    background: linear-gradient(135deg, #00f3ff, #1d4ed8);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-nav:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text-side {
    text-align: left;
}

.hero-status-container {
    margin-bottom: 30px;
}

.navbar-status-badge {
    display: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: dotPulse 2s infinite;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dotPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Premium Status Typewriter & Erase Loop */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #10b981;
    width: 17ch;
    vertical-align: middle;
    animation: 
        typewriterLoop 6s steps(17) infinite,
        cursorBlink 0.75s step-end infinite alternate;
}

@keyframes typewriterLoop {
    0% { width: 0; }
    25%, 55% { width: 17ch; } /* holds fully typed text */
    75%, 100% { width: 0; } /* erases back to empty */
}

@keyframes cursorBlink {
    from, to { border-color: transparent }
    50% { border-color: #10b981; }
}

@media (hover: hover) and (min-width: 992px) {
    .badge:hover {
        transform: translateY(-3px) scale(1.03);
        background: rgba(16, 185, 129, 0.18);
        border-color: rgba(16, 185, 129, 0.5);
        box-shadow: 
            0 10px 25px rgba(16, 185, 129, 0.2),
            inset 0 0 10px rgba(16, 185, 129, 0.08);
    }

    .badge:hover::before {
        transform: scale(1.2);
        box-shadow: 0 0 15px #10b981;
        animation-duration: 1s;
    }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 40px;
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Subtle divider between CTA buttons */
.hero-cta .btn-outline {
    margin-left: 2px;
}

.hero-cta .btn-primary {
    font-size: 1rem;
    padding: 16px 34px;
}

.hero-cta .btn-outline {
    font-size: 1rem;
    padding: 15px 32px;
}

.accent-text {
    background: linear-gradient(90deg, #00f3ff, #1d4ed8, #00f3ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 4s linear infinite;
}

@keyframes textGradient {
    to { background-position: 200% center; }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50px); /* Perfect vertical alignment parallel to text on laptop screens */
    align-self: start;
    margin-top: 40px;
}

.profile-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-bg-circle {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    z-index: -1;
    animation: profileGlowShift 12s ease-in-out infinite, circlePulse 5s ease-in-out infinite alternate;
}

@keyframes circlePulse {
    from { transform: scale(0.92); opacity: 0.35; }
    to { transform: scale(1.08); opacity: 0.65; }
}

@keyframes profileGlowShift {
    0%, 100% {
        background: radial-gradient(circle, rgba(0, 243, 255, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(0, 243, 255, 0.2));
    }
    16.67% {
        background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(168, 85, 247, 0.2));
    }
    33.33% {
        background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(236, 72, 153, 0.2));
    }
    50% {
        background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(59, 130, 246, 0.2));
    }
    66.67% {
        background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(16, 185, 129, 0.2));
    }
    83.33% {
        background: radial-gradient(circle, rgba(234, 179, 8, 0.22) 0%, transparent 70%);
        filter: drop-shadow(0 0 45px rgba(234, 179, 8, 0.2));
    }
}

.profile-frame {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    background: #0a0a0a;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 30px rgba(0, 243, 255, 0.12),
        inset 0 0 15px rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 2;
    transition: var(--transition-slow);
    animation: frameBorderShift 12s ease-in-out infinite;
}

@keyframes frameBorderShift {
    0%, 100% {
        border-color: rgba(0, 243, 255, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 243, 255, 0.15);
    }
    16.67% {
        border-color: rgba(168, 85, 247, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(168, 85, 247, 0.15);
    }
    33.33% {
        border-color: rgba(236, 72, 153, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(236, 72, 153, 0.15);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(59, 130, 246, 0.15);
    }
    66.67% {
        border-color: rgba(16, 185, 129, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(16, 185, 129, 0.15);
    }
    83.33% {
        border-color: rgba(234, 179, 8, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(234, 179, 8, 0.15);
    }
}

.profile-frame:hover {
    box-shadow: 
        0 0 45px rgba(0, 243, 255, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.3);
}


/* Premium Light Sweep Effect */
.profile-frame::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 55%
    );
    transform: rotate(-45deg);
    animation: lightSweep 8s infinite;
    pointer-events: none;
    z-index: 4;
}

@keyframes lightSweep {
    0% { transform: translate(-100%, -100%) rotate(-45deg); }
    25%, 100% { transform: translate(100%, 100%) rotate(-45deg); }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.02);
    transition: var(--transition-slow);
}

.profile-container:hover .profile-img {
    transform: scale(1.05);
}

/* Orbiting Cards Styling */
.glass-card {
    position: absolute;
    padding: 16px 28px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.75) 0%, rgba(10, 10, 10, 0.75) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 10;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    transition: transform 0.4s ease;
}

.card-icon.photoshop { background: linear-gradient(135deg, #00c8ff, #005bff); } /* Gorgeous Photoshop Blue Gradient */
.card-icon.code { background: linear-gradient(135deg, #00f3ff, #1d4ed8); }
.card-icon.youtube { background: linear-gradient(135deg, #FF0000, #B20000); }
.card-icon.marketing { background: linear-gradient(135deg, #FF8A00, #FFD600); }

.card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

/* Card Positions, Delays & Custom Premium Orbital Motions */
.card-design { 
    top: 5%; 
    left: -10%; 
    animation: orbitDesign 9s ease-in-out infinite;
    border-left: 3px solid rgba(0, 200, 255, 0.4) !important;
    border-color: rgba(0, 200, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 15px rgba(0, 200, 255, 0.04);
}
.card-dev { 
    top: 25%; 
    right: -15%; 
    animation: orbitDev 11s ease-in-out infinite;
    animation-delay: 1s;
    border-right: 3px solid rgba(0, 243, 255, 0.4) !important;
    border-color: rgba(0, 243, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 15px rgba(0, 243, 255, 0.04);
}
.card-youtube { 
    bottom: 15%; 
    left: -5%; 
    animation: orbitYoutube 10s ease-in-out infinite;
    animation-delay: 2s;
    border-left: 3px solid rgba(255, 0, 0, 0.4) !important;
    border-color: rgba(255, 0, 0, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 15px rgba(255, 0, 0, 0.04);
}
.card-marketing { 
    bottom: 5%; 
    right: -5%; 
    animation: orbitMarketing 8s ease-in-out infinite;
    animation-delay: 0.5s;
    border-right: 3px solid rgba(255, 138, 0, 0.4) !important;
    border-color: rgba(255, 138, 0, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 15px rgba(255, 138, 0, 0.04);
}

/* Individual Card Themed Premium Hover Glow States */
.card-design:hover {
    scale: 1.08;
    translate: 0 -8px;
    border-left-color: #00c8ff !important;
    border-color: rgba(0, 200, 255, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 200, 255, 0.25), 0 0 10px rgba(0, 200, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: rgba(20, 20, 20, 0.95);
}
.card-design:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-dev:hover {
    scale: 1.08;
    translate: 0 -8px;
    border-right-color: #00f3ff !important;
    border-color: rgba(0, 243, 255, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 243, 255, 0.25), 0 0 10px rgba(0, 243, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: rgba(20, 20, 20, 0.95);
}
.card-dev:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-youtube:hover {
    scale: 1.08;
    translate: 0 -8px;
    border-left-color: #FF0000 !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 0, 0, 0.25), 0 0 10px rgba(255, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: rgba(20, 20, 20, 0.95);
}
.card-youtube:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-marketing:hover {
    scale: 1.08;
    translate: 0 -8px;
    border-right-color: #FF8A00 !important;
    border-color: rgba(255, 138, 0, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 138, 0, 0.25), 0 0 10px rgba(255, 138, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: rgba(20, 20, 20, 0.95);
}
.card-marketing:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Individual Icon Animations */
.card-icon.photoshop img {
    animation: photoshopTilt 6s ease-in-out infinite alternate;
}
@keyframes photoshopTilt {
    0% { transform: rotate3d(1, 1, 0, -10deg) scale(0.95); }
    100% { transform: rotate3d(1, 1, 0, 15deg) scale(1.05); }
}

.card-icon.code img {
    animation: codeGlowPulse 4s ease-in-out infinite alternate;
}
@keyframes codeGlowPulse {
    0% { transform: scale(0.96) translate3d(0,0,0); filter: drop-shadow(0 0 2px rgba(0, 243, 255, 0.2)); }
    100% { transform: scale(1.06) translate3d(0,-2px,0); filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.65)); }
}

.card-icon.youtube i {
    animation: youtubePulse 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    display: inline-block;
}
@keyframes youtubePulse {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.2)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.7)); }
    100% { transform: scale(0.95); filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.2)); }
}

.card-icon.marketing i {
    animation: marketingElasticFloat 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    display: inline-block;
}
@keyframes marketingElasticFloat {
    0% { transform: translateY(2px) scale(0.95); }
    100% { transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.5)); }
}

/* Custom Premium Orbital Motion Keyframes */
@keyframes orbitDesign {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -15px) rotate(1deg); }
    50% { transform: translate(5px, -25px) rotate(-1deg); }
    75% { transform: translate(15px, -10px) rotate(0.5deg); }
}

@keyframes orbitDev {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -10px) rotate(-1deg); }
    50% { transform: translate(25px, -20px) rotate(1deg); }
    75% { transform: translate(10px, -5px) rotate(-0.5deg); }
}

@keyframes orbitYoutube {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-12px, 12px) rotate(0.8deg); }
    50% { transform: translate(-5px, 25px) rotate(-0.8deg); }
    75% { transform: translate(12px, 10px) rotate(0.4deg); }
}

@keyframes orbitMarketing {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 15px) rotate(-0.5deg); }
    50% { transform: translate(-10px, 20px) rotate(0.5deg); }
    75% { transform: translate(-15px, -5px) rotate(-0.3deg); }
}

/* Orbit Lines */
.orbit-line {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.line-1 { width: 550px; height: 550px; }
.line-2 { width: 700px; height: 700px; }

.ring-1 {
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(0, 243, 255, 0.2);
    animation: rotateOrbit 20s linear infinite;
}

.ring-2 {
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: rotateOrbit 30s linear infinite reverse;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Particles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.p-1 { top: 10%; left: 10%; animation: floatParticle 8s infinite linear; }
.p-2 { top: 60%; right: 10%; animation: floatParticle 12s infinite linear reverse; }
.p-3 { bottom: 10%; left: 20%; animation: floatParticle 10s infinite linear; }

@keyframes floatParticle {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    33% { transform: translate(30px, -50px) scale(1.2); opacity: 0.6; }
    66% { transform: translate(-20px, 40px) scale(0.8); opacity: 0.4; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .profile-container {
        width: 400px;
        height: 400px;
    }

    .profile-frame {
        width: 340px;
        height: 340px;
    }

    .glass-card {
        padding: 10px 16px;
    }

    .card-design {
        left: -40px;
    }

    .card-dev {
        right: -60px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 10px;
        text-align: center;
    }

    .hero-text-side {
        order: 2;
        text-align: center;
    }

    .hero-visual {
        order: 1;
        margin: 0 auto;
        transform: none !important;
        align-self: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 85px;
        padding-bottom: 80px;
        min-height: auto;
        display: flex;
        align-items: center;
        position: relative;
    }

    /* Ambient cyber mesh glow behind profile squircle */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 280px;
        height: 280px;
        background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(29, 78, 216, 0.05) 50%, transparent 80%);
        filter: blur(40px);
        z-index: -1;
        pointer-events: none;
        animation: mobileGlowPulse 8s infinite alternate ease-in-out;
    }

    @keyframes mobileGlowPulse {
        0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
        100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .hero-text-side {
        order: 2;
        text-align: center;
    }

    /* Badge styling - aligned top-left with margin */
    .hero-status-container {
        display: flex;
        justify-content: flex-start;
        margin-left: 4px;
        margin-top: 10px;
        margin-bottom: 24px;
    }

    .hero-status-container .badge {
        background: rgba(16, 185, 129, 0.06);
        border: 1px solid rgba(16, 185, 129, 0.35);
        color: #10b981;
        padding: 8px 18px;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        border-radius: 100px;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        animation: badgeAutoHover 5s ease-in-out infinite;
        transform-origin: left center;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    @keyframes badgeAutoHover {
        0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15); }
        50% { transform: translateY(-3px) scale(1.03); border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); }
    }



    /* Typography & Headers */
    .hero-title {
        font-size: clamp(2.3rem, 9.5vw, 3.2rem);
        font-weight: 900;
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
        text-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--text-secondary);
        max-width: 100%;
        margin-bottom: 30px;
    }

    /* Side-by-side Button Dock on Mobile */
    .hero-cta {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
    }

    .hero-cta .btn {
        flex: 1;
        width: auto;
        padding: 14px 20px;
        font-size: 0.9rem;
        border-radius: 100px;
        justify-content: center;
    }

    /* Bento-style Squircle Visual Capsule */
    .hero-visual {
        order: 2;
        width: 100%;
        margin: 20px auto 0 auto;
        display: flex;
        justify-content: center;
        transform: none !important;
    }

    .profile-container {
        position: relative;
        width: 100%;
        max-width: 340px;
        height: 340px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .profile-bg-circle {
        display: none;
    }

    /* Portrait squircle shield container */
    .profile-frame {
        width: 200px;
        height: 200px;
        border-radius: 44px; /* Asymmetrical premium bento shape */
        border: 2px solid rgba(0, 243, 255, 0.35);
        background: rgba(8, 8, 8, 0.65);
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.6),
            inset 0 0 20px rgba(0, 243, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        overflow: hidden;
        position: relative;
        z-index: 5;
        transform: rotate(-2deg);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        animation: mobileFramePulse 6s ease-in-out infinite alternate;
    }

    @keyframes mobileFramePulse {
        0% { transform: rotate(-2deg) scale(0.98); border-color: rgba(0, 243, 255, 0.25); }
        100% { transform: rotate(1deg) scale(1.02); border-color: rgba(0, 243, 255, 0.55); box-shadow: 0 20px 45px rgba(0, 243, 255, 0.25); }
    }

    .profile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        filter: brightness(1.05) contrast(1.02);
        transition: transform 0.5s ease;
    }

    /* Interactive Online Badge on Squircle */
    .profile-frame::before {
        content: 'ONLINE';
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(16, 185, 129, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        padding: 3px 8px;
        border-radius: 30px;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
    }

    /* Floating badges layout */
    .glass-card {
        position: absolute !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 8px 14px !important;
        background: rgba(12, 12, 12, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-radius: 18px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
        z-index: 10;
        width: auto !important;
        min-width: 0 !important;
        animation: mobileFloat 5s ease-in-out infinite alternate !important;
        transition: all 0.4s ease !important;
    }

    @keyframes mobileFloat {
        0% { transform: translateY(0px); }
        100% { transform: translateY(-10px); }
    }

    /* Delays and Positions */
    .card-design {
        top: 5% !important;
        left: -8% !important;
        animation-delay: 0s !important;
        border-left: 2px solid #00c8ff !important;
    }

    .card-dev {
        top: 25% !important;
        right: -8% !important;
        animation-delay: 1.2s !important;
        border-right: 2px solid #00f3ff !important;
    }

    .card-youtube {
        bottom: 18% !important;
        left: -5% !important;
        animation-delay: 2.4s !important;
        border-left: 2px solid #FF0000 !important;
    }

    .card-marketing {
        bottom: 5% !important;
        right: -5% !important;
        animation-delay: 3.6s !important;
        border-right: 2px solid #FFD600 !important;
    }

    .card-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 9px !important;
        font-size: 0.9rem !important;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-label {
        font-size: 0.55rem !important;
        letter-spacing: 0.5px;
    }

    .card-value {
        font-size: 0.72rem !important;
        font-weight: 700;
    }

    /* Hide decorative orbits on mobile */
    .orbit-line,
    .line-1,
    .line-2,
    .ring-1,
    .ring-2 {
        display: none !important;
    }
}

/* Extra-small screens layout fine-tuning */
@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }

    .profile-container {
        max-width: 290px !important;
        height: 290px !important;
        margin: 0 auto !important;
    }

    .profile-frame {
        width: 210px !important;
        height: 210px !important;
        border-radius: 50% !important; /* Perfect glowing circle on all mobile screens! */
        border: 2.5px solid transparent !important;
        background: linear-gradient(#050505, #050505) padding-box, linear-gradient(135deg, #38bdf8 0%, #00f3ff 30%, #1d4ed8 100%) border-box !important;
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.6),
            0 0 25px rgba(56, 189, 248, 0.5),
            0 0 45px rgba(29, 78, 216, 0.25),
            inset 0 0 15px rgba(56, 189, 248, 0.25) !important;
    }

    .glass-card {
        padding: 6px 10px !important;
        border-radius: 14px !important;
        gap: 8px;
    }

    .card-icon {
        width: 26px !important;
        height: 26px !important;
        border-radius: 8px !important;
        font-size: 0.8rem !important;
    }

    .card-label {
        font-size: 0.5rem !important;
    }

    .card-value {
        font-size: 0.65rem !important;
    }

    .card-design {
        top: 8% !important;
        left: -3% !important;
    }

    .card-dev {
        top: 25% !important;
        right: -3% !important;
    }

    .card-youtube {
        bottom: 18% !important;
        left: -2% !important;
    }

    .card-marketing {
        bottom: 6% !important;
        right: -2% !important;
    }
}

/* --- About Section --- */
.about {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* Image takes slightly more space */
    gap: 100px;
    /* More spacing for "bigger" feel */
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 620px;
    /* Further increased breadth for laptop */
    width: 100%;
    margin-right: auto;
}

.placeholder-portrait {
    width: 100%;
    aspect-ratio: 4/5;
    /* Slightly wider proportion than 3/4 */
    background: url('/assets/image.png');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.placeholder-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.6) 0%, transparent 40%);
}



.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 10;
    animation: badgeFloat 5s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.years {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    opacity: 1;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Services Section --- */
.services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.1), transparent 70%);
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card:nth-child(1) .service-icon {
    color: #FF0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.service-card:nth-child(2) .service-icon {
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.service-card:nth-child(3) .service-icon {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.service-features {
    list-style: none;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.service-features li i {
    color: var(--accent);
    font-size: 1.1rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Skills Section --- */
.skills {
    padding: var(--section-padding);
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.skill-tag {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent-secondary);
}

.skill-bar-group {
    margin-bottom: 30px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.skill-percentage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 0 6px rgba(255, 255, 255, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-percentage i {
    color: #ffb800; /* Gold star color */
    filter: drop-shadow(0 0 4px rgba(255, 184, 0, 0.6));
    font-size: 0.85rem;
    animation: starGlance 2s infinite alternate ease-in-out;
}

@keyframes starGlance {
    0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 3px rgba(255, 184, 0, 0.4)); }
    100% { transform: scale(1.15) rotate(15deg); filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.8)); }
}

.skill-bar-group:hover .skill-percentage {
    background: rgba(0, 243, 255, 0.04);
    border-color: rgba(0, 243, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 18px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(0, 243, 255, 0.08);
}

.skill-bar-group:hover .progress-fill {
    box-shadow: 0 0 10px var(--accent);
}

.progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-secondary), var(--accent));
    border-radius: 4px;
    transform-origin: left;
    transition: width 1s ease;
}

/* --- Portfolio Section --- */
/* --- Work Section --- */
.work {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Add a dedicated ambient light for the work section */
.work::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.work-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.work-category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}



.work-category-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.4);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 243, 255, 0.1);
}

.work-image-box {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.work-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: saturate(0.8) brightness(0.9);
}

.work-category-card:hover .work-image-box img {
    transform: scale(1.1);
    filter: saturate(1.1) brightness(1);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.4) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    z-index: 3;
}

.work-tag {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-details {
    padding: 0 40px 40px 40px;
    margin-top: -20px;
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.work-card-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.work-details p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 100%;
    flex-grow: 1;
}

/* Button Reveal on Hover */
.work-details .btn {
    opacity: 0.8; /* Keep slightly visible for affordance */
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-category-card:hover .work-details .btn {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-text {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text:hover {
    color: #fff;
}

/* Expanded View Styles */
.work-expanded-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    opacity: 0;
}

.expanded-nav-btn,
.expanded-dots-indicator {
    display: none !important;
}

.work-expanded-container.active {
    max-height: 3000px;
    opacity: 1;
    margin-top: 40px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.expanded-header {
    text-align: center;
    margin-bottom: 60px;
}

.expanded-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.thumbnail-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .thumbnail-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .thumbnail-showcase-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.thumbnail-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.col-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.col-title i {
    color: var(--accent);
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.thumbnail-list {
    display: grid;
    gap: 30px;
}

.vertical .thumbnail-list {
    grid-template-columns: 1fr;
}

.horizontal .thumbnail-list {
    grid-template-columns: 1fr;
}

.thumb-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
}

.thumb-item:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.thumb-item:hover img {
    filter: brightness(0.6);
}

.thumb-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), rgba(0, 243, 255, 0.25));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-item:hover .thumb-info {
    opacity: 1;
}

.thumb-info .category {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.thumb-info .stat {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

/* Web Projects Grid */
.web-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.web-project-card {
    border-radius: 24px;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.web-project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.project-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.web-project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Project Meta Info */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 4px 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-project-card:hover .meta-item {
    border-color: rgba(0, 243, 255, 0.15);
    background: rgba(0, 243, 255, 0.02);
    color: #fff;
}

.meta-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Aspect Ratio Fixes */
.vertical .thumb-item,
.square .thumb-item {
    aspect-ratio: 1/1;
}

.horizontal .thumb-item {
    aspect-ratio: 16/9;
}



/* --- Testimonials Section --- */
.testimonials {
    padding: var(--section-padding);
    position: relative;
}

/* Trust Summary Bar */
.trust-summary {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-stat .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
}

.stars-mini {
    color: #fbbf24;
    font-size: 0.8rem;
    display: flex;
    gap: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.stat-main {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    display: block;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.trust-platforms {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.platform-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.platform-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.platform-icons i:hover {
    color: var(--accent);
    transform: translateY(-2px);
    transition: var(--transition-fast);
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.platform-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
}

.platform-tag i {
    font-size: 1.1rem;
}

.platform-tag.youtube i { color: #ff0000; }
.platform-tag.instagram i { color: #e1306c; }
.platform-tag.event i { color: var(--accent); }

.verified-badge {
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.testimonial-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.project-price {
    font-size: 0.7rem;
    background: rgba(0, 243, 255, 0.06);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(0, 243, 255, 0.18);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.04);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.project-price i {
    font-size: 0.8rem;
    color: var(--accent);
}

.testimonial-card:hover .project-price {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
    transform: scale(1.05);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
}

.review-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
    position: relative;
    flex-grow: 1;
}

.review-text::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.05;
    color: var(--accent);
}

.project-highlight {
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), transparent);
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin-bottom: 30px;
    border-radius: 0 12px 12px 0;
}

.highlight-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 1px;
}

.highlight-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
}

.client-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    background: var(--accent);
    filter: blur(10px);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
}

.testimonial-card:hover .avatar-glow {
    opacity: 0.3;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.client-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
}

.client-location {
    font-size: 0.75rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* --- Carousel Common Styles --- */
.carousel-next-btn {
    display: none; /* Hidden by default, shown specifically */
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

/* Specific button visibility */
.about-next {
    display: flex;
}

.carousel-next-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: white;
}

/* About Carousel (All Screen Sizes) */
.about-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
}

.about-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    width: 100%;
}

.about-carousel-track .about-image {
    min-width: 100%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-summary {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .trust-divider {
        width: 100%;
        height: 1px;
    }

    .trust-stat {
        flex-direction: column;
        gap: 5px;
    }

    .expertise-next, .feedback-next {
        display: flex;
    }

    /* Expertise Carousel */
    .expertise-carousel-wrapper {
        position: relative;
    }

    .service-card {
        min-width: 85vw;
        scroll-snap-align: center;
    }

    /* Feedback Carousel */
    .feedback-carousel-wrapper {
        position: relative;
        padding-right: 10px;
    }

    .carousel-track {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    }

    .carousel-track::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }

    .testimonial-card {
        min-width: 85vw;
        scroll-snap-align: center;
    }
}

/* --- Contact Section --- */
.contact {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.contact-info .section-title .accent-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    filter: drop-shadow(0 2px 20px rgba(0, 243, 255, 0.15)) !important;
}

.contact-methods {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method:hover {
    transform: translateX(6px);
}

.contact-method:hover .method-icon {
    background: rgba(0, 243, 255, 0.06);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
    transform: scale(1.05);
}

.method-details h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.method-details a {
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.method-details a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    padding: 45px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 15, 0.55);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5), 
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.contact-form-wrapper:hover {
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6), 
        0 0 40px rgba(0, 243, 255, 0.05),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transform: translateY(-4px);
}

.form-group {
    margin-bottom: 26px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group:focus-within label {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 
        0 0 22px rgba(0, 243, 255, 0.15), 
        inset 0 0 10px rgba(0, 243, 255, 0.02);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Custom Select Arrow Styling */
.form-group select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='rgb(0,243,255)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 26px !important;
    padding-right: 45px !important; /* Prevent text overlap */
    cursor: pointer !important;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml;utf8,<svg fill='rgb(0,243,255)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 14l5-5 5 5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
}

/* Beautiful option styling for select fields on dark background */
.form-group select option {
    background-color: #0c0c12 !important;
    color: #ffffff !important;
    padding: 14px !important;
    font-size: 1rem !important;
}

.btn-block {
    width: 100%;
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* --- Select Placeholder Styling --- */
.form-group select:has(option[value=""]:checked) {
    color: rgba(255, 255, 255, 0.25);
}

/* --- Form Success Modal --- */
.success-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.active {
    opacity: 1;
    pointer-events: all;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.success-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.7), 
        0 0 40px rgba(0, 243, 255, 0.05),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20001;
}

.success-modal.active .success-modal-content {
    transform: scale(1) translateY(0);
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-wrapper i {
    font-size: 5rem;
    color: #10b981;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    z-index: 2;
}

.success-icon-glow {
    position: absolute;
    inset: 0;
    background: rgba(16, 185, 129, 0.2);
    filter: blur(15px);
    border-radius: 50%;
    z-index: 1;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.success-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

#successCloseBtn {
    width: 100%;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#successCloseBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

/* =========================================
   Ultra-Premium Footer Styles
   ========================================= */
.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 0 0;
    background: rgba(4, 4, 6, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow: hidden;
}

/* Subtle accent ambient glow inside footer */
.footer-glow-circle {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.03) 0%, rgba(168, 85, 247, 0.02) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-about .logo-animated {
    margin-bottom: 22px;
}

.footer-about-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-icon i {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover img {
    transform: scale(1.15);
}

.footer-social-icon:hover i {
    transform: scale(1.15);
    color: #ffffff;
}

/* Ensure WhatsApp image fully fills the circle container */
.whatsapp-footer-icon img {
    height: 100% !important;
    transform: scale(1.35);
}

.whatsapp-footer-icon:hover img {
    transform: scale(1.5);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    position: relative;
}

/* Subtle bottom line under column titles */
.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 25px;
    height: 2px;
    background: var(--accent);
    border-radius: 10px;
}

.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-link:hover {
    color: var(--accent);
}

/* Static list items without link actions but beautiful styling */
.footer-link-static {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link-static:hover {
    color: #ffffff;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-icon {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 2px;
}

.footer-contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--accent);
}

/* Footer Bottom Section with modern top neon accent divider line */
.footer-bottom-container {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding: 30px 0;
    z-index: 2;
}

/* Soft accent glow on top border */
.footer-bottom-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.25), rgba(168, 85, 247, 0.25), transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text,
.crafted-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-heart-icon {
    color: #ff3e3e;
    margin: 0 2px;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* =========================================
   Footer Responsive Styles
   ========================================= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0 !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .footer-about {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 15px !important;
    }

    .footer-about-desc {
        max-width: 100% !important;
        text-align: center !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
    }

    .footer-socials {
        justify-content: center !important;
        margin-top: 15px !important;
    }

    /* Collapsible Footer Accordions on Mobile */
    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding-bottom: 15px !important;
    }

    .footer-col-title {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important; /* Reset margin so it aligns tightly when collapsed */
        padding: 8px 0 !important;
        cursor: pointer !important;
        position: relative !important;
    }

    .footer-col-title::after {
        display: none !important; /* Hide standard bottom bar on mobile */
    }

    /* Add dynamic chevron icon in CSS */
    .footer-col-title::before {
        content: '\e9b4' !important; /* Boxicons chevron-down code */
        font-family: 'boxicons' !important;
        font-size: 1.25rem !important;
        color: var(--accent) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        order: 2 !important; /* Put on the far right */
    }

    /* When active, rotate the chevron */
    .footer-col.active .footer-col-title::before {
        transform: rotate(180deg) !important;
    }

    .footer-links-list,
    .footer-contact-list {
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
        margin-top: 0 !important;
        padding-left: 5px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .footer-col.active .footer-links-list,
    .footer-col.active .footer-contact-list {
        max-height: 250px !important; /* Fully expanded height */
        opacity: 1 !important;
        margin-top: 15px !important;
    }
}

/* --- Thumbnail Showcase Layout --- */
.thumbnail-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-top: 40px;
}

.thumbnail-column-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.thumbnail-column-title i {
    font-size: 1.8rem;
}

.long-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.shorts-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.shorts-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.short-item {
    aspect-ratio: 9/16;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.short-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short-item:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 16/9; /* Last one spans or stays vertical? Let's make it 16/9 for variety or span */
}

.shorts-bio {
    margin-top: 15px;
    padding: 20px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 20px;
    border-left: 4px solid var(--accent);
}

.shorts-bio h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: white;
}

.shorts-bio p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.see-more-btn {
    margin-top: auto;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    color: white;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.see-more-btn:hover {
    background: var(--accent);
    color: black;
    box-shadow: 0 0 20px var(--accent-glow);
}

@media (max-width: 992px) {
    .thumbnail-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .shorts-gallery {
        grid-template-columns: 1fr;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
    transform: translateX(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-title br {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-status-badge {
        display: inline-flex;
        align-items: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
        animation: badgeAbsolutePulse 4s ease-in-out infinite alternate;
    }

    .navbar-status-badge .badge {
        background: rgba(10, 10, 10, 0.88) !important;
        border: 1.5px solid rgba(16, 185, 129, 0.6) !important;
        color: #10b981;
        padding: 9px 22px;
        font-size: 0.88rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        border-radius: 100px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        text-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
        transition: all 0.4s ease;
    }

    .navbar-status-badge .badge::before {
        width: 8px;
        height: 8px;
        background: #10b981;
        box-shadow: 0 0 12px #10b981;
    }

    .navbar-status-badge .typing-text {
        width: 17ch;
        border-right: 2.5px solid #10b981;
    }

    .hero-status-container {
        display: none !important;
    }

    @keyframes badgeAbsolutePulse {
        0%, 100% { 
            transform: translate(-50%, -50%) scale(1); 
            box-shadow: 
                0 0 20px rgba(16, 185, 129, 0.25),
                inset 0 0 10px rgba(16, 185, 129, 0.15);
            border-color: rgba(16, 185, 129, 0.5);
        }
        50% { 
            transform: translate(-50%, -53%) scale(1.04); 
            box-shadow: 
                0 0 30px rgba(16, 185, 129, 0.55),
                inset 0 0 15px rgba(16, 185, 129, 0.3);
            border-color: #10b981;
        }
    }

    .navbar:has(.nav-links.active) .navbar-status-badge {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 75%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 30px;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.8, 0, 0.2, 1);
        z-index: 1005;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .btn-nav {
        font-size: 1.1rem;
        padding: 12px 30px;
        width: 85%;
        margin-top: 10px;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1006;
    }

    .hero-content,
    .about-grid,
    .skills-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .about-visual {
        order: 2;
        /* Image below text */
    }

    .about-text {
        order: 1;
        text-align: center;
        margin-bottom: 30px;
    }

    .about-image-wrapper {
        margin: 0 auto 50px auto;
        max-width: 380px;
    }

    .experience-badge {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        padding: 12px 24px;
        background: rgba(10, 10, 15, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        border-radius: 20px;
        width: max-content;
        white-space: nowrap;
        margin: 0;
        animation: badgeFloatMobile 5s ease-in-out infinite;
    }

    @keyframes badgeFloatMobile {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }

    .experience-badge .years {
        font-size: 2.2rem;
        background: linear-gradient(135deg, #fff, var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -1px;
        filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3));
    }

    .experience-badge .text {
        color: rgba(255, 255, 255, 0.95);
        font-size: 0.85rem;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hero-status-container {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        margin: 0 auto 10px auto;
        order: -1;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-visual {
        order: 1;
        justify-self: center;
        margin-top: 5px;
        margin-bottom: 15px;
        transform: none !important;
    }

    .hero-content {
        gap: 20px !important;
    }

    .profile-container {
        width: 380px;
        height: 380px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        animation: mobileProfileFloat 6s ease-in-out infinite !important;
    }

    .profile-glow-aura {
        width: 150%;
        height: 150%;
        background: radial-gradient(circle, rgba(56, 189, 248, 0.7) 0%, rgba(0, 243, 255, 0.45) 25%, rgba(29, 78, 216, 0.3) 50%, transparent 75%) !important;
        filter: blur(40px) !important;
        opacity: 0.95 !important;
        animation: rotateGlow 8s linear infinite !important;
    }

    .profile-frame {
        width: 360px;
        height: 360px;
        border-radius: 50% !important;
        border: 2.5px solid transparent !important;
        background: linear-gradient(#050505, #050505) padding-box, linear-gradient(135deg, #38bdf8 0%, #00f3ff 30%, #1d4ed8 100%) border-box !important;
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(56, 189, 248, 0.5),
            0 0 50px rgba(29, 78, 216, 0.25),
            inset 0 0 20px rgba(56, 189, 248, 0.25) !important;
        overflow: hidden;
    }

    .profile-frame::before {
        display: none !important;
    }

    @keyframes mobileProfileFloat {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-12px) scale(1.02); }
    }

    @keyframes profileLiquidMorph {
        0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
        50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
        100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    }

    @keyframes rotateGlow {
        from { transform: rotate(0deg) scale(1); }
        50% { transform: rotate(180deg) scale(1.15); }
        to { transform: rotate(360deg) scale(1); }
    }

    .glass-card,
    .orbit-line {
        display: none !important;
    }

    .profile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: mobileImageBreathe 6s ease-in-out infinite alternate !important;
        filter: brightness(1.02) contrast(1.05) saturate(1.05) !important;
        transition: all 0.5s ease;
    }

    @keyframes mobileImageBreathe {
        0% {
            transform: scale(1) rotate(0deg);
            filter: brightness(1.02) contrast(1.05) saturate(1.05);
        }
        100% {
            transform: scale(1.08) rotate(1.5deg);
            filter: brightness(1.06) contrast(1.1) saturate(1.1);
        }
    }

    /* Spotlight effect for mobile */
    .profile-spotlight {
        animation: mobileSpotlight 5s ease-in-out infinite !important;
        opacity: 0.7;
        background: linear-gradient(
            120deg,
            transparent 30%,
            rgba(0, 243, 255, 0.25) 40%,
            rgba(56, 189, 248, 0.4) 50%,
            rgba(29, 78, 216, 0.25) 60%,
            transparent 70%
        ) !important;
    }

    @keyframes mobileSpotlight {
        0% { left: -150%; opacity: 0; }
        50% { left: 50%; opacity: 0.7; }
        100% { left: 150%; opacity: 0; }
    }

    .float-item {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .float-1 {
        top: 0;
        left: -10px;
    }

    .float-2 {
        bottom: 10%;
        right: -20px;
    }

    .float-3 {
        top: 50%;
        left: -30px;
    }

    .float-4 {
        top: -20px;
        left: -40px;
    }

    .float-5 {
        bottom: 10%;
        left: -20px;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .skills-content {
        text-align: center;
    }

    .skills-tags {
        justify-content: center;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-methods {
        align-items: flex-start !important;
        max-width: 310px !important;
        margin: 30px auto !important;
    }

    .contact-method {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .method-details a {
        font-size: 0.95rem !important; /* Prevent text overflow on small viewports */
        word-break: break-all !important;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px !important;
        border-radius: 24px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(10, 10, 15, 0.7) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.01) !important;
    }

    .contact-form-wrapper .form-group {
        margin-bottom: 20px !important;
    }

    .contact-form-wrapper .form-group label {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        letter-spacing: 0.8px !important;
    }

    .contact-form-wrapper .form-group input,
    .contact-form-wrapper .form-group select,
    .contact-form-wrapper .form-group textarea {
        padding: 14px 16px !important;
        font-size: 0.9rem !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .contact-form-wrapper .form-group input:focus,
    .contact-form-wrapper .form-group select:focus,
    .contact-form-wrapper .form-group textarea:focus {
        border-color: var(--accent) !important;
        border-left: 4px solid var(--accent) !important; /* Premium left bar indicators! */
        background: rgba(0, 0, 0, 0.5) !important;
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.1) !important;
    }

    .work-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .thumbnail-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .work-image-box {
        height: 300px; /* Slightly taller for better mobile presence */
    }

    .work-details {
        padding: 0 20px 24px 20px !important;
        margin-top: -10px !important;
    }

    .work-card-title {
        font-size: 1.45rem !important;
        margin-bottom: 8px !important;
    }

    .work-details p {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Show buttons on mobile as hover isn't reliable */
    .work-details .btn, 
    .work-details .btn-text {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        margin-top: 5px !important;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }

    .expanded-header {
        margin-bottom: 24px !important;
    }

    .expanded-title {
        font-size: 1.8rem !important;
        margin-bottom: 6px !important;
        letter-spacing: -0.5px !important;
    }

    .expanded-divider {
        width: 60px !important;
        height: 3px !important;
        margin: 0 auto !important;
    }

    .work-expanded-container.active {
        padding-top: 30px !important;
        margin-top: 15px !important;
    }

    /* Web Projects Grid Swipe Deck Optimization */
    .web-projects-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 16px !important;
        padding: 10px 20px 30px !important;
        scroll-padding-inline: 20px !important;
        width: 100% !important;
    }
    
    .web-projects-grid::-webkit-scrollbar {
        display: none !important;
    }

    .web-project-card {
        flex: 0 0 85% !important; /* 85% width ensures the next project card slightly peaks from the right! */
        scroll-snap-align: center !important;
        padding: 16px !important;
        gap: 12px !important;
        border-radius: 20px !important;
        height: auto !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        transform: scale(0.95) !important;
        opacity: 0.6 !important;
    }

    .web-project-card.active-slide {
        transform: scale(1) !important;
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(0, 243, 255, 0.35) !important;
        box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15) !important;
    }

    .project-img {
        border-radius: 12px !important;
    }

    .project-info h4 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .project-info p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .project-meta {
        gap: 8px !important;
        margin-bottom: 12px !important;
        flex-wrap: wrap !important;
    }

    .meta-item {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
    }

    /* Graphics Collections Swipe Deck Optimization */
    .thumbnail-showcase-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 20px !important;
        padding: 10px 20px 30px !important;
        scroll-padding-inline: 20px !important;
        width: 100% !important;
    }

    .thumbnail-showcase-grid::-webkit-scrollbar {
        display: none !important;
    }

    .thumbnail-col {
        flex: 0 0 85% !important; /* 85% width ensures the next graphics collection slightly peaks! */
        scroll-snap-align: center !important;
        gap: 12px !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        transform: scale(0.95) !important;
        opacity: 0.6 !important;
    }

    .thumbnail-col.active-slide {
        transform: scale(1) !important;
        opacity: 1 !important;
    }

    .col-title {
        font-size: 1.15rem !important;
        gap: 8px !important;
        margin-bottom: 4px !important;
        justify-content: center;
    }

    .thumb-item {
        position: relative !important;
        overflow: hidden !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .thumb-info {
        position: absolute !important;
        inset: auto 0 0 0 !important; /* Bottom-aligned footer layout */
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 16px 12px 14px !important;
        gap: 4px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        opacity: 1 !important;
    }

    .thumb-info .category {
        font-size: 0.7rem !important;
        font-weight: 800 !important;
        color: var(--accent, #00f3ff) !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
    }

    .thumb-info .stat {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 6px !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .view-gallery-btn {
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 10px !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        background: var(--accent, #00f3ff) !important;
        border-color: var(--accent, #00f3ff) !important;
        color: #000000 !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 10px rgba(0, 243, 255, 0.3) !important;
    }

    .section-header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .stat-box {
        background: rgba(255, 255, 255, 0.03);
        padding: 15px 10px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Center the 3rd stat if it's the last odd one */
    .stat-box:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        max-width: 180px;
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 40px;
    }

    .about-text {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 30px 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        margin-bottom: 0;
    }

    .about-image-wrapper {
        max-width: 100%;
        /* Maximum breadth for mobile */
        margin: 40px 0 30px 0;
        position: relative;
        width: 100%;
    }

    .placeholder-portrait {
        aspect-ratio: 4/5;
        border-radius: 20px;
        /* Slightly tighter corners for full-width */
    }

    .about-image-wrapper::after {
        content: '';
        position: absolute;
        inset: -20px;
        background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
        z-index: -1;
    }

    .section-title {
        font-size: 2.8rem;
        /* Adjusted for better phone fit */
        line-height: 1.05;
        text-align: center;
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-desc {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 40px 25px;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 25px auto;
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .service-features {
        display: inline-block;
        text-align: left;
        width: 100%;
        max-width: 280px;
        margin: 25px auto 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-cta {
        display: flex;
    }

    /* Modern radial glow for mobile */
    .profile-glow {
        position: absolute;
        bottom: -50px;
        left: 50%;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(0, 243, 255, 0.4) 0%, transparent 70%);
        filter: blur(25px);
        z-index: 0;
        pointer-events: none;
        mix-blend-mode: screen;
        animation: mobileGlowPulse 5s infinite;
        transform-origin: center;
        clip-path: none;
    }
}

@keyframes logoShine {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: none;
    }

    50% {
        border-color: rgba(0, 243, 255, 0.6);
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    }
}

@keyframes mobileGlowPulse {

    0%,
    45%,
    100% {
        transform: translateX(-50%) scale(0.6);
        opacity: 0;
    }

    55% {
        /* Open animation */
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }

    88% {
        /* Stay active */
        transform: translateX(-50%) scale(1.05);
        opacity: 0.7;
    }

    95% {
        /* Closing animation */
        transform: translateX(-50%) scale(0.6);
        opacity: 0;
    }
}
/* --- Testimonials Responsive Fixes --- */
@media (max-width: 768px) {
    .trust-summary {
        display: flex !important;
        flex-direction: row !important; /* Elegant horizontal layout! */
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 10px !important;
        margin-bottom: 30px !important;
        border-radius: 20px !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-align: left !important;
    }

    .trust-stat {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        flex: 1.2 !important;
        justify-content: center !important;
    }

    .trust-stat .stat-value {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
    }

    .trust-stat .stat-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .trust-stat .stat-label {
        font-size: 0.6rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: var(--text-secondary) !important;
    }

    .stars-mini {
        display: flex !important;
        gap: 1px !important;
        color: #ffb800 !important;
        font-size: 0.55rem !important;
    }

    .trust-stat .stat-main {
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        color: var(--accent, #00f3ff) !important;
    }

    .trust-divider {
        width: 1px !important;
        height: 25px !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    .trust-platforms {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        flex: 1 !important;
        gap: 3px !important;
    }

    .trust-platforms .platform-label {
        font-size: 0.6rem !important;
        text-transform: uppercase !important;
        color: var(--text-secondary) !important;
        letter-spacing: 0.5px !important;
    }

    .trust-platforms .platform-icons {
        display: flex !important;
        gap: 6px !important;
        font-size: 0.9rem !important;
    }

    .trust-platforms .platform-icons i {
        opacity: 0.8 !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .testimonial-card {
        padding: 20px 16px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(10, 10, 15, 0.6) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.01) !important;
    }

    .testimonial-header {
        margin-bottom: 12px !important;
    }

    .review-text {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .project-highlight {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        margin-bottom: 16px !important;
        border-radius: 8px !important;
    }

    .client-info {
        gap: 10px !important;
    }

    .client-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .client-name {
        font-size: 0.9rem !important;
    }

    .client-role {
        font-size: 0.75rem !important;
    }

    .client-location {
        font-size: 0.7rem !important;
    }
}

/* --- Hero Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
        padding-top: 50px;
    }
    .hero-visual {
        transform: none !important;
    }
    .hero-text-side {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    .profile-container {
        width: 350px;
        height: 350px;
    }
    .profile-frame {
        width: 280px;
        height: 280px;
    }
    .profile-bg-circle {
        width: 300px;
        height: 300px;
    }
    .glass-card {
        padding: 10px 15px;
    }
    .card-value {
        font-size: 0.9rem;
    }
    .card-design { top: -5%; left: 0%; }
    .card-dev { top: 15%; right: -5%; }
    .card-youtube { bottom: 10%; left: 0%; }
    .card-marketing { bottom: -5%; right: 0%; }
    .line-1, .line-2 { display: none; }
}

/* --- Gallery Modal Lightbox --- */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: all;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(255, 255, 255, 0.02);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
}

/* Custom Scrollbar for Modal Content */
.gallery-modal-content::-webkit-scrollbar {
    width: 8px;
}
.gallery-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.gallery-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.gallery-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1) translateY(0);
}

.gallery-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-close-btn:hover {
    background: rgba(255, 0, 85, 0.1);
    border-color: rgba(255, 0, 85, 0.3);
    color: #ff0055;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
}

.gallery-modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-modal-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.gallery-modal-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* Gallery Showcase Grid */
.gallery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
    cursor: pointer;
}

/* Aspect ratios depending on class */
.gallery-item.shorts-aspect {
    aspect-ratio: 9/16;
}
.gallery-item.long-aspect {
    aspect-ratio: 16/9;
}
.gallery-item.marketing-aspect {
    aspect-ratio: auto;
    background: transparent;
    border: none;
    box-shadow: none;
}

.gallery-item.marketing-aspect img {
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.marketing-aspect:hover img {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.15);
}

.gallery-item.marketing-aspect:hover {
    transform: none;
    box-shadow: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.gallery-item-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.4) 60%, transparent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-title-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Adjustments for the view more center button */
.view-gallery-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    background: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.thumb-item:hover .view-gallery-btn {
    transform: translateY(0);
    opacity: 1;
}

.view-gallery-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95% !important;
        max-height: 90vh !important;
        padding: 40px 16px 30px !important;
        border-radius: 24px !important;
    }
    .gallery-modal-title {
        font-size: 1.8rem;
    }
    .gallery-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* --- Fullscreen Image Lightbox --- */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000; /* Higher than the main gallery modal */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: rotate(90deg) scale(1.05);
}

.lightbox-zoom-btn {
    position: absolute;
    top: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.active .lightbox-content {
    transform: translateY(0) scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 243, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    cursor: zoom-in !important;
}

.lightbox-content.zoomed img {
    transform: scale(1.6) !important;
    cursor: zoom-out !important;
}

.lightbox-content.shifting img {
    opacity: 0;
    transform: scale(0.97);
}

.lightbox-caption {
    margin-top: 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 10px 25px;
    border-radius: 100px;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Lightbox Navigation Buttons */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-nav-btn.prev {
    left: 40px;
}

.lightbox-nav-btn.next {
    right: 40px;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
}

.lightbox-nav-btn.prev:hover {
    transform: translateY(-50%) scale(1.08) translateX(-4px);
}

.lightbox-nav-btn.next:hover {
    transform: translateY(-50%) scale(1.08) translateX(4px);
}

/* mobile & tablet view lightbox styles: enable lightbox with vertically centered side nav buttons */
@media (max-width: 991px) {
    .image-lightbox {
        display: flex !important;
    }

    .lightbox-nav-btn {
        display: flex !important; /* Keep side navigation active on mobile! */
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
        border-radius: 50% !important;
        background: rgba(10, 10, 10, 0.75) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        z-index: 100 !important;
    }

    .lightbox-nav-btn.prev {
        left: 15px !important;
    }

    .lightbox-nav-btn.next {
        right: 15px !important;
    }

    .lightbox-caption {
        margin-top: 15px !important;
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
        margin-bottom: 0 !important; /* Reset bottom margins */
    }

    .lightbox-content img {
        max-width: 90vw !important;
        max-height: 75vh !important;
        border-radius: 16px !important;
    }

    .lightbox-close-btn {
        top: 20px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
    }

    .lightbox-zoom-btn {
        top: 20px !important;
        right: 75px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
    }
}

/* =========================================
   Process & Workflow Section Styles
   ========================================= */
.process {
    padding: 120px 0; /* Premium, spacious gallery feel */
    position: relative;
    background: transparent; /* Set to transparent to let global blue ambient-bg show through natively */
    overflow: hidden;
    z-index: 1; /* Creates styling context */
}

/* Navigation buttons & dots are hidden globally on desktop */
.process-nav-btn,
.process-dots-indicator {
    display: none;
}

/* Ambient soft multi-color tech glow circle */
.process-glow-circle {
    position: absolute;
    top: 15%;
    right: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.04) 0%, rgba(168, 85, 247, 0.03) 50%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: -2; /* Sits behind grid */
    opacity: 0.85;
    transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1); /* Ultra smooth color morphing! */
    animation: floatGlow 15s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

.process-split-layout {
    display: flex;
    gap: 64px;
    position: relative;
}

/* Left Column (Sticky Sidebar) */
.process-left {
    width: 42%;
    position: relative;
}

.process-sticky-content {
    position: sticky;
    top: 120px;
    align-self: start;
    z-index: 5;
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 35px 30px;
    border-radius: 24px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.45),
        inset 0 0 20px rgba(255, 255, 255, 0.01);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-sticky-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--theme-color, #00f3ff), transparent);
    transition: background 0.8s ease;
    filter: blur(1px);
}

/* Right Column (Timeline Cards) */
.process-right {
    width: 58%;
    position: relative;
}

/* Step Themes Setup */
.theme-cyan {
    --theme-color: #00f3ff;
    --theme-color-rgb: 0, 243, 255;
    --theme-gradient: linear-gradient(135deg, #00f3ff, #0ea5e9);
    --theme-glow: rgba(0, 243, 255, 0.4);
}

.theme-blue {
    --theme-color: #3b82f6;
    --theme-color-rgb: 59, 130, 246;
    --theme-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --theme-glow: rgba(59, 130, 246, 0.4);
}

.theme-purple {
    --theme-color: #a855f7;
    --theme-color-rgb: 168, 85, 247;
    --theme-gradient: linear-gradient(135deg, #a855f7, #6366f1);
    --theme-glow: rgba(168, 85, 247, 0.4);
}

.theme-pink {
    --theme-color: #f43f5e;
    --theme-color-rgb: 244, 63, 94;
    --theme-gradient: linear-gradient(135deg, #f43f5e, #ec4899);
    --theme-glow: rgba(244, 63, 94, 0.4);
}

.theme-emerald {
    --theme-color: #10b981;
    --theme-color-rgb: 16, 185, 129;
    --theme-gradient: linear-gradient(135deg, #10b981, #059669);
    --theme-glow: rgba(16, 185, 129, 0.4);
}

.theme-gold {
    --theme-color: #fbbf24;
    --theme-color-rgb: 251, 191, 36;
    --theme-gradient: linear-gradient(135deg, #fbbf24, #f59e0b);
    --theme-glow: rgba(251, 191, 36, 0.4);
}

/* Typography styles */
.process-pretitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #00f3ff;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.process .section-title {
    font-size: clamp(2.5rem, 6.5vw, 4.4rem) !important; /* Bold, premium editorial style heading */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    text-shadow: 0 0 45px rgba(var(--theme-color-rgb, 0, 243, 255), 0.08); /* Glow sheen */
}

.process .section-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 720px; /* Enhanced word wrapping & readability */
    margin: 0 auto;
}

/* Phase Indicators (Vercel Style Upgrade) */
.process-phase-monitor {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 2px solid rgba(255, 255, 255, 0.02);
    padding-left: 22px;
    margin-left: 4px;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.35;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.phase-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--theme-color);
    border-radius: 4px;
    opacity: 0;
    transform: scaleY(0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px var(--theme-glow);
}

.phase-item:hover {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.03);
    opacity: 0.7;
}

.phase-dot {
    position: absolute;
    left: -27px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    transform: translateY(-50%) scale(0.6);
    transition: all 0.4s ease;
}

.phase-item.active {
    background: rgba(var(--theme-color-rgb), 0.03);
    border-color: rgba(var(--theme-color-rgb), 0.08);
    opacity: 1;
    transform: translateX(6px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.35),
        inset 0 0 15px rgba(var(--theme-color-rgb), 0.03);
}

.phase-item.active::after {
    opacity: 1;
    transform: scaleY(1);
}

.phase-item.active .phase-dot {
    background: var(--theme-color);
    border-color: var(--theme-color);
    box-shadow: 
        0 0 10px var(--theme-color),
        0 0 20px var(--theme-color);
    transform: translateY(-50%) scale(1.4);
    animation: pulseActiveDot 1.5s infinite alternate ease-in-out;
}

@keyframes pulseActiveDot {
    0% { box-shadow: 0 0 8px var(--theme-color), 0 0 15px var(--theme-color); }
    100% { box-shadow: 0 0 14px var(--theme-color), 0 0 28px var(--theme-color); }
}

.phase-item.active .phase-number {
    color: var(--theme-color);
    font-weight: 800;
    text-shadow: 0 0 10px var(--theme-glow);
}

.phase-item.active .phase-name {
    color: #ffffff;
    font-weight: 600;
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.phase-name {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

/* Connective Glow Line */
.process-timeline-container {
    position: relative;
    padding-left: 36px;
}

.process-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    background: rgba(255, 255, 255, 0.02);
    z-index: 1;
}

.process-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #00f3ff, #a855f7, #f43f5e, #10b981, #fbbf24);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3), 0 0 15px rgba(251, 191, 36, 0.2);
    border-radius: 10px;
    transition: height 0.1s linear;
}

/* Energy Spark riding the trail */
.process-timeline-spark {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 10px #ffffff,
        0 0 20px var(--accent),
        0 0 35px var(--accent-glow);
    z-index: 10;
    transition: top 0.1s linear, background-color 0.4s ease, box-shadow 0.4s ease;
}

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced vertical spacing to keep the cards closer and more cohesive */
    z-index: 2;
}

.process-step-item {
    position: relative;
    width: 100%;
    transition: var(--transition-slow);
    text-align: left !important;
}

/* Step Number Badge */
.process-number {
    position: absolute;
    left: -18px;
    top: 31px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transform: translate(-50%, 0);
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step active & hover states - theme colored */
.process-step-item.reveal.active .process-number {
    border-color: var(--theme-color);
    color: #ffffff;
    box-shadow: 0 0 12px var(--theme-glow);
}

.process-step-item:hover .process-number {
    border-color: var(--theme-color);
    background: var(--theme-gradient);
    color: #ffffff;
    box-shadow: 0 0 18px var(--theme-glow);
    transform: translate(-50%, 0) scale(1.15);
}

/* Ultra-Premium Glassmorphism Card */
.process-card {
    width: 100%;
    max-width: 100%; /* Stretch cards to fill the available column width, making them long and reducing unused side space */
    padding: 24px 26px;
    background: rgba(255, 255, 255, 0.015); /* Subtler glass transparency */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

/* Futuristic Dot Matrix Matrix Overlay */
.process-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

/* Localized theme-driven mouse follow glow */
.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--theme-color-rgb), 0.08) 0%,
        transparent 70%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.process-card:hover::before {
    opacity: 1;
}

.process-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(var(--theme-color-rgb), 0.35);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6), 
        0 0 35px rgba(var(--theme-color-rgb), 0.12);
}

.process-card:hover::after {
    opacity: 0.3;
}

/* Active highlights on desktop/laptop scrolled-in card */
.process-step-item.active .process-card {
    background: rgba(var(--theme-color-rgb), 0.03);
    border-color: rgba(var(--theme-color-rgb), 0.3);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.55), 
        0 0 30px rgba(var(--theme-color-rgb), 0.06);
    transform: translateY(-4px) scale(1.01);
}

.process-step-item.active .process-card::before {
    opacity: 0.65;
    background: radial-gradient(
        circle 220px at var(--mouse-x, 20%) var(--mouse-y, 20%),
        rgba(var(--theme-color-rgb), 0.06) 0%,
        transparent 70%
    );
}

.process-step-item.active .process-card:hover::before {
    opacity: 1;
    background: radial-gradient(
        circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--theme-color-rgb), 0.12) 0%,
        transparent 70%
    );
}

.process-step-item.active .process-icon-box {
    background: var(--theme-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 15px rgba(var(--theme-color-rgb), 0.3);
}

.process-step-item.active .process-card-title {
    color: var(--theme-color);
}

.process-step-item.active .process-tag {
    border-color: rgba(var(--theme-color-rgb), 0.15);
    background: rgba(var(--theme-color-rgb), 0.04);
    color: #ffffff;
}

/* Colossal Background Outline Watermark */
.process-card-watermark {
    position: absolute;
    bottom: -8px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.012);
    pointer-events: none;
    z-index: 1;
    user-select: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-card-watermark {
    -webkit-text-stroke: 1.5px rgba(var(--theme-color-rgb), 0.06);
    transform: translateY(-3px) scale(1.03);
}

.process-step-item.active .process-card-watermark {
    -webkit-text-stroke: 1.5px rgba(var(--theme-color-rgb), 0.04);
    transform: translateY(-2px);
}

.process-info {
    position: relative;
    z-index: 2;
}

/* Themed Icon Box */
.process-icon-box {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--theme-color-rgb), 0.03);
    border: 1px solid rgba(var(--theme-color-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--theme-color);
    margin-bottom: 0;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.process-icon-box .icon-glow {
    position: absolute;
    inset: 0;
    background: var(--theme-glow);
    filter: blur(6px);
    opacity: 0.15;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.process-card:hover .process-icon-box {
    background: var(--theme-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 6px 20px rgba(var(--theme-color-rgb), 0.35);
}

.process-card:hover .process-icon-box .icon-glow {
    opacity: 0.4;
}

/* Typography styles */
.process-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.process-card:hover .process-card-title {
    color: var(--theme-color);
}

.process-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Deliverables Badges */
.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.process-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.process-card:hover .process-tag {
    border-color: rgba(var(--theme-color-rgb), 0.15);
    background: rgba(var(--theme-color-rgb), 0.04);
    color: #ffffff;
}

@media (min-width: 993px) {
    /* Dynamic Presentation Cyber Console Layout (Stacking Cards) */
    .process-timeline-line,
    .process-timeline-spark,
    .process-line-progress,
    .process-step-item .process-number {
        display: none !important; /* Hide vertical timeline line scroll helpers on desktop/laptop */
    }
    
    .process-timeline-container {
        padding-left: 0; /* Remove left timeline timeline spacing to align deck console card */
    }
    
    .process-steps {
        position: relative;
        height: 330px; /* Takes up 4x less vertical space, highly compact and attractive! */
        width: 100%;
        perspective: 1000px;
    }
    
    .process-step-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px) scale(0.98);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1;
        margin-bottom: 0 !important;
    }
    
    .process-step-item.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0) scale(1);
        z-index: 5;
    }
    
    /* Fill console card dimensions and vertical alignment */
    .process-card {
        height: 100%;
        display: flex;
        align-items: center; /* Center horizontally & vertically inside the bento box display deck */
    }
}

/* =========================================
   Process Split Layout Responsive Overrides
   ========================================= */
@media (min-width: 993px) and (max-width: 1200px) {
    .process-split-layout {
        gap: 36px;
    }
    
    .process-left {
        width: 38%;
    }
    
    .process-right {
        width: 62%;
    }
    
    .process-sticky-content {
        padding: 24px 20px;
    }
    
    .process-card {
        padding: 20px 22px;
    }
}

@media (max-width: 992px) {
    .process {
        padding: 50px 0;
        background: transparent !important;
    }

    .process::before,
    .process::after {
        display: none;
    }

    .process-split-layout {
        flex-direction: column;
        gap: 30px;
    }

    /* Make the Left Sidebar Column a STICKY horizontal progress HUD! */
    .process-left {
        width: 100%;
        position: sticky;
        top: 80px; /* Sits perfectly below navbar */
        z-index: 99;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px) saturate(180%);
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.05);
        padding: 12px 0;
        margin-top: -10px;
    }

    .process-sticky-content {
        position: relative;
        top: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    /* Hide the long description & title inside the sticky panel on mobile, as the section header handles it */
    .process-sticky-content .process-pretitle,
    .process-main-title,
    .process-main-desc {
        display: none !important;
    }

    /* Convert the vertical monitor list to a gorgeous horizontal swipeable active bar! */
    .process-phase-monitor {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        gap: 12px;
        padding: 5px 20px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }

    .process-phase-monitor::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .phase-item {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 18px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.07) !important;
        border-radius: 40px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.5) !important;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
        cursor: pointer;
        flex-shrink: 0;
    }

    .phase-item.active {
        background: rgba(var(--theme-color-rgb, 56, 189, 248), 0.1) !important;
        border-color: var(--theme-color, #38bdf8) !important;
        color: #ffffff !important;
        box-shadow: 0 0 15px var(--theme-glow, rgba(56, 189, 248, 0.25)) !important;
        transform: translateY(-2px);
    }

    .phase-dot {
        width: 7px !important;
        height: 7px !important;
        background: var(--theme-color, #38bdf8) !important;
        box-shadow: 0 0 8px var(--theme-color, #38bdf8) !important;
        margin: 0 !important;
        border-radius: 50%;
    }

    /* Right Timeline Section */
    .process-right {
        width: 100%;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    /* Swipe Progress Dots for Expanded Decks (Mobile only) */
    .expanded-dots-indicator {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
        margin-bottom: 25px;
        width: 100%;
    }

    .expanded-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .web-dots .expanded-dot.active {
        width: 22px;
        border-radius: 8px;
        background: #00f3ff !important;
        box-shadow: 0 0 10px rgba(0, 243, 255, 0.5) !important;
    }

    .graphics-dots .expanded-dot.active {
        width: 22px;
        border-radius: 8px;
        background: #a855f7 !important; /* High-CTR purple theme */
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.5) !important;
    }

    /* Floating Navigation Buttons for Expanded Decks (Mobile only) */
    .expanded-nav-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(10, 10, 10, 0.85) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        font-size: 1.25rem !important;
        z-index: 10;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
    }

    .expanded-prev {
        left: 5px !important;
    }

    .expanded-next {
        right: 5px !important;
    }

    .expanded-nav-btn:active {
        background: var(--accent, #00f3ff) !important;
        border-color: var(--accent, #00f3ff) !important;
        color: #000000 !important;
        box-shadow: 0 0 10px rgba(0, 243, 255, 0.5) !important;
    }

    /* Floating cybernetic navigation buttons (Mobile only) */
    .process-nav-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(10, 10, 10, 0.75);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.3rem;
        z-index: 10;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .process-prev {
        left: 10px;
    }

    .process-next {
        right: 10px;
    }

    .process-nav-btn:active {
        background: var(--theme-color, #38bdf8);
        border-color: var(--theme-color, #38bdf8);
        color: #ffffff;
        box-shadow: 0 0 15px var(--theme-glow, rgba(56, 189, 248, 0.4));
    }

    .process-timeline-container {
        padding-left: 0;
    }

    /* Swipe Progress Dots (Mobile only) */
    .process-dots-indicator {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
        z-index: 5;
    }

    .process-dot-node {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        cursor: pointer;
    }

    .process-dot-node.active {
        width: 22px;
        border-radius: 10px;
        background: var(--theme-color, #38bdf8);
        box-shadow: 0 0 10px var(--theme-glow, rgba(56, 189, 248, 0.4));
    }

    /* Hide the old timeline line visual elements on mobile to make way for the swipe deck */
    .process-timeline-line,
    .process-timeline-spark,
    .process-step-item .process-number {
        display: none !important;
    }

    /* Convert vertical list into a gorgeous horizontal swipeable active bento deck! */
    .process-steps {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 16px !important;
        padding: 20px 20px 40px !important;
        scroll-padding-inline: 20px !important;
        width: 100%;
    }

    .process-steps::-webkit-scrollbar {
        display: none !important;
    }

    /* Individual Steps in Swipe Swiper */
    .process-step-item {
        flex: 0 0 85% !important; /* 85% card width ensures the next card slightly peaks in from the right edge! */
        scroll-snap-align: center !important;
        margin-bottom: 0 !important;
        opacity: 0.5;
        transform: scale(0.93) translateY(0);
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Active dynamic highlighting for the scrolled/centered step card */
    .process-step-item.active {
        opacity: 1;
        transform: scale(1.02) translateY(0);
    }

    /* Ultra-sleek premium Bento Glass Card */
    .process-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        flex-direction: column !important; /* Stack vertically for clean structure on small screens */
        padding: 24px 20px;
        gap: 20px;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        overflow: hidden;
    }

    .process-step-item.active .process-card {
        border-color: rgba(var(--theme-color-rgb), 0.25) !important;
        background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.06) 0%, rgba(10, 10, 10, 0.88) 100%) !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 
                    0 0 30px rgba(var(--theme-color-rgb), 0.05) !important;
    }

    /* Cybernetic decorative card background spotlight radial glow */
    .process-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 10% 10%, rgba(var(--theme-color-rgb), 0.08) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
        z-index: 0;
    }

    .process-step-item.active .process-card::before {
        opacity: 1;
    }

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

    .process-icon-box {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.07);
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.5s ease;
    }

    .process-step-item.active .process-icon-box {
        color: var(--theme-color);
        background: rgba(var(--theme-color-rgb), 0.1);
        border-color: rgba(var(--theme-color-rgb), 0.2);
        box-shadow: inset 0 0 10px rgba(var(--theme-color-rgb), 0.15);
    }

    .process-card-title {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        margin-bottom: 10px;
        color: #ffffff;
        transition: color 0.4s ease;
    }

    .process-step-item.active .process-card-title {
        color: var(--theme-color);
    }

    .process-card-desc {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        color: var(--text-secondary) !important;
    }

    /* Sleek tags container */
    .process-tags {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .process-tag {
        font-size: 0.75rem !important;
        padding: 5px 12px !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        color: rgba(255, 255, 255, 0.6) !important;
        transition: all 0.4s ease;
    }

    .process-step-item.active .process-tag {
        background: rgba(var(--theme-color-rgb), 0.04) !important;
        border-color: rgba(var(--theme-color-rgb), 0.1) !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .process-card-watermark {
        font-size: 4rem;
        bottom: -5px;
        right: 12px;
        opacity: 0.02;
        transition: opacity 0.5s ease;
    }

    .process-step-item.active .process-card-watermark {
        opacity: 0.05;
        color: var(--theme-color);
    }
}

/* ==========================================================================
   ULTRA-ROBUST MOBILE OVERFLOW & RESPONSIVENESS PATCH
   This patch guarantees zero horizontal scrolling or layout overflows on all
   mobile devices (down to 320px wide screens) without altering any existing
   design choices, animations, or styles.
   ========================================================================== */

/* 1. Global Viewport Clamping */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* 2. Container & Section Boundaries Clamping */
@media (max-width: 768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Clamp all major layout sections */
    section, 
    main, 
    header, 
    footer, 
    .hero, 
    .about, 
    .services, 
    .process, 
    .skills, 
    .work, 
    .testimonials, 
    .contact {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Except for elements that are explicitly designed to have horizontal swipe/scroll! */
    .process-steps, 
    .web-projects-grid, 
    .thumbnail-showcase-grid, 
    .services-grid.carousel-track, 
    .expertise-carousel-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    
    /* Reset ambient backgrounds and orbs that use viewport-based sizing and might cause overflow */
    .ambient-bg {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .glow-orb {
        max-width: 100% !important;
    }

    /* Wrap stats row to prevent overflow on tablets & mid-size screens */
    .stats-row {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
    }
}

/* 3. Grid Track Overflow Fixes */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important;
        width: 100% !important;
    }
    
    .gallery-showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
        width: 100% !important;
    }
}

/* 4. Contact Form and Input Overflow Prevention */
@media (max-width: 768px) {
    input, 
    select, 
    textarea, 
    button, 
    .btn {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-methods {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 5. Fluid Media Reset */
@media (max-width: 768px) {
    img, 
    video, 
    canvas, 
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* 6. Typography & Word Breaking to Prevent Text Blowouts */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6, p, a, span {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* 7. Specific element overflow fixes on extra-small mobile devices */
@media (max-width: 480px) {
    .stats-row {
        gap: 10px !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    
    .stat-box {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .profile-container {
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .profile-frame {
        width: 340px !important;
        height: 340px !important;
        max-width: 90vw !important;
        max-height: 90vw !important;
    }
    
    .trust-summary {
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
}



