/* ============================================ */
/* NEW GRAPHICS POINT - Immersive Parallax Site */
/* ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Dark palette */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(18, 18, 30, 0.85);
    --bg-card-hover: rgba(26, 26, 46, 0.95);

    /* Neon palette */
    --neon-pink: #ff0080;
    --neon-cyan: #00f0ff;
    --neon-purple: #a855f7;
    --neon-orange: #ff6b2b;
    --neon-green: #00ff88;
    --neon-yellow: #ffe100;

    /* Glow effects */
    --glow-pink: 0 0 20px rgba(255, 0, 128, 0.5), 0 0 60px rgba(255, 0, 128, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 60px rgba(0, 240, 255, 0.2);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 60px rgba(168, 85, 247, 0.2);

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 240, 255, 0.2);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sizing */
    --section-padding: 120px 0;
    --container-max: 1280px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* ============================================ */
/* BOKEH PARTICLES                              */
/* ============================================ */
#bokeh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bokeh-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: bokehFloat 20s infinite ease-in-out;
    will-change: transform, opacity;
}

.bokeh-particle[data-size="small"] { width: 6px; height: 6px; filter: blur(0.5px); }
.bokeh-particle[data-size="medium"] { width: 14px; height: 14px; filter: blur(2px); }
.bokeh-particle[data-size="large"] { width: 24px; height: 24px; filter: blur(4px); }
.bokeh-particle[data-size="xlarge"] { width: 40px; height: 40px; filter: blur(6px); }

@keyframes bokehFloat {
    0%, 100% { opacity: 0; transform: translateY(0) translateX(0) scale(0.8); }
    15% { opacity: 1; }
    50% { opacity: 0.7; transform: translateY(-120px) translateX(40px) scale(1.2); }
    85% { opacity: 1; }
}

/* Stagger particles */
.bokeh-particle:nth-child(2)  { animation-delay: -2s; animation-duration: 25s; }
.bokeh-particle:nth-child(3)  { animation-delay: -4s; animation-duration: 22s; }
.bokeh-particle:nth-child(4)  { animation-delay: -6s; animation-duration: 28s; }
.bokeh-particle:nth-child(5)  { animation-delay: -8s; animation-duration: 18s; }
.bokeh-particle:nth-child(6)  { animation-delay: -1s; animation-duration: 30s; }
.bokeh-particle:nth-child(7)  { animation-delay: -3s; animation-duration: 35s; }
.bokeh-particle:nth-child(8)  { animation-delay: -5s; animation-duration: 20s; }
.bokeh-particle:nth-child(9)  { animation-delay: -7s; animation-duration: 26s; }
.bokeh-particle:nth-child(10) { animation-delay: -9s; animation-duration: 23s; }
.bokeh-particle:nth-child(11) { animation-delay: -2.5s; animation-duration: 19s; }
.bokeh-particle:nth-child(12) { animation-delay: -4.5s; animation-duration: 32s; }
.bokeh-particle:nth-child(13) { animation-delay: -6.5s; animation-duration: 21s; }
.bokeh-particle:nth-child(14) { animation-delay: -8.5s; animation-duration: 27s; }
.bokeh-particle:nth-child(15) { animation-delay: -1.5s; animation-duration: 24s; }
.bokeh-particle:nth-child(16) { animation-delay: -3.5s; animation-duration: 29s; }
.bokeh-particle:nth-child(17) { animation-delay: -5.5s; animation-duration: 17s; }
.bokeh-particle:nth-child(18) { animation-delay: -7.5s; animation-duration: 33s; }
.bokeh-particle:nth-child(19) { animation-delay: -9.5s; animation-duration: 22s; }
.bokeh-particle:nth-child(20) { animation-delay: -0.5s; animation-duration: 26s; }

/* ============================================ */
/* NAVIGATION                                   */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    z-index: 1001;
}

.logo-icon {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    text-shadow: var(--glow-cyan);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
    50% { text-shadow: 0 0 25px rgba(0, 240, 255, 0.8), 0 0 50px rgba(0, 240, 255, 0.3); }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    padding: 10px 20px;
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================ */
/* HERO SECTION - Fixed Background Parallax     */
/* ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* FIXED - stays in place while content scrolls */
    will-change: transform;
    transform: scale(1.1);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(10, 10, 15, 0.6) 40%,
        rgba(10, 10, 15, 0.75) 70%,
        rgba(10, 10, 15, 0.95) 100%
    );
    z-index: 1;
}

.hero-neon-accent {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 28px;
    padding: 8px 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    background: rgba(0, 240, 255, 0.05);
    will-change: transform;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    will-change: transform;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-primary);
    letter-spacing: 4px;
}

.title-line-2 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    letter-spacing: 6px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    will-change: transform;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    will-change: transform;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 240, 255, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    will-change: transform;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--neon-pink);
}

.stat-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

/* ============================================ */
/* SECTION TRANSITION STRIP                     */
/* ============================================ */
.section-transition {
    position: relative;
    height: 80px;
    overflow: hidden;
    z-index: 5;
}

.transition-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
}

.transition-line-1 {
    top: 20px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-pink), transparent);
    opacity: 0.4;
    animation: transitionPulse 4s ease-in-out infinite;
}

.transition-line-2 {
    top: 40px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-purple), transparent);
    opacity: 0.3;
    animation: transitionPulse 4s ease-in-out infinite 1s;
}

.transition-line-3 {
    top: 60px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-cyan), transparent);
    opacity: 0.2;
    animation: transitionPulse 4s ease-in-out infinite 2s;
}

@keyframes transitionPulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.8); }
    50% { opacity: 0.6; transform: scaleX(1); }
}

/* ============================================ */
/* SECTION COMMON STYLES                        */
/* ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 100px;
    background: rgba(0, 240, 255, 0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.neon-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================ */
/* SERVICES SECTION                             */
/* ============================================ */
.services-section {
    position: relative;
    z-index: 5;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

/* Service Card with Tilt */
.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s var(--ease-out-expo);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: default;
}

.service-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.05);
    transform: translateY(-8px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
    will-change: transform;
}

.service-card:hover .card-image {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tags span {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--neon-cyan);
    padding: 4px 10px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 100px;
    background: rgba(0, 240, 255, 0.05);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 14px;
    color: #fff;
    text-shadow: var(--glow-cyan);
}

/* ============================================ */
/* PARALLAX IMAGE BREAK                         */
/* ============================================ */
.parallax-break {
    position: relative;
    height: 500px;
    overflow: hidden;
    z-index: 5;
}

.parallax-break-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-break-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--bg-primary) 0%,
        rgba(10, 10, 15, 0.5) 30%,
        rgba(10, 10, 15, 0.5) 70%,
        var(--bg-primary) 100%
    );
}

.parallax-break-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 24px;
}

.parallax-break-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.parallax-break-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
}

/* ============================================ */
/* PORTFOLIO SECTION                            */
/* ============================================ */
.portfolio-section {
    position: relative;
    z-index: 5;
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-primary);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item:hover {
    transform: translateY(-6px);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-image-wrapper img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ============================================ */
/* ABOUT SECTION                                */
/* ============================================ */
.about-section {
    position: relative;
    z-index: 5;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-image-main {
    width: 70%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.2);
    box-shadow: var(--glow-cyan);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 20px;
    right: 20%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    margin-top: 2px;
}

.about-feature h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================ */
/* GALLERY SECTION                              */
/* ============================================ */
.gallery-section {
    position: relative;
    z-index: 5;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    grid-auto-rows: 200px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

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

.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================ */
/* CONTACT SECTION                              */
/* ============================================ */
.contact-section {
    position: relative;
    z-index: 5;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--neon-cyan);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-justdial {
    padding: 20px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
}

.contact-justdial p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.justdial-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.justdial-link:hover {
    border-color: var(--neon-purple);
    box-shadow: var(--glow-purple);
}

.justdial-rating {
    font-size: 0.8rem;
    color: var(--neon-yellow);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
    position: relative;
    z-index: 5;
    padding: 80px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col li,
.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links-col a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================ */
/* BACK TO TOP                                  */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 240, 255, 0.5);
}

/* ============================================ */
/* REVEAL ANIMATIONS                            */
/* ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================ */
/* RESPONSIVE DESIGN                            */
/* ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-images {
        height: 400px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

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

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .title-line-2 {
        font-size: clamp(2.2rem, 12vw, 5rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

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

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

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .about-images {
        height: 350px;
    }

    .about-image-main {
        width: 65%;
        height: 300px;
    }

    .about-image-accent {
        width: 50%;
        height: 200px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .parallax-break {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .portfolio-filters {
        gap: 8px;
    }

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

/* ============================================ */
/* COLOR TRANSITION ON SCROLL                   */
/* ============================================ */
body {
    transition: background-color 0.8s ease;
}

/* Sections progressively shift from charcoal to neon glow */
.services-section {
    background: var(--bg-primary);
}

.portfolio-section {
    background: linear-gradient(180deg,
        var(--bg-primary) 0%,
        #0d0d18 30%,
        #10102a 60%,
        var(--bg-primary) 100%
    );
}

.gallery-section {
    background: linear-gradient(180deg,
        var(--bg-primary) 0%,
        #0f0f20 50%,
        #12122e 100%
    );
}

.contact-section {
    background: var(--bg-primary);
}
