/* ==========================================
   CSS Variables & Theme Setup
========================================== */
:root {
    /* Colors - Dark Premium Theme */
    --clr-bg: #09090b;
    /* Very dark zinc */
    --clr-surface: #18181b;
    --clr-surface-light: #27272a;

    /* Neon Accents */
    --clr-primary: #8b5cf6;
    /* Violet */
    --clr-primary-glow: rgba(139, 92, 246, 0.4);
    --clr-secondary: #06b6d4;
    /* Cyan */
    --clr-secondary-glow: rgba(6, 182, 212, 0.4);

    /* Text */
    --clr-text: #fafafa;
    --clr-text-muted: #a1a1aa;

    /* UI borders & subtle elements */
    --clr-border: rgba(255, 255, 255, 0.1);

    /* Layout */
    --max-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Reset & Base Styles
========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

/* Typography Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--clr-text-muted);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   Components (Buttons, Cards, Badges)
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-base);
    text-transform: capitalize;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), #6d28d9);
    color: white;
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--clr-text);
    border-color: var(--clr-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.w-100 {
    width: 100%;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: var(--transition-base);
}

.glass-panel:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(24, 24, 27, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: var(--clr-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================
   Header / Navbar
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo img {
    height: 50px !important;
    width: auto;
    vertical-align: middle;
}

.logo span {
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 992px) {
    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1005;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    border-radius: 8px;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--clr-text);
    transition: var(--transition-base);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==========================================
   Hero Section Redesign (Real Ambitions)
========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column: Content */
.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #facc15;
    /* Yellow to match ref */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.highlight-yellow {
    color: #facc15;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn.cta-yellow {
    background: #facc15;
    color: #000;
    border: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn.cta-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
    background: #eab308;
}

.hero-arrow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.drawn-arrow {
    width: 60px;
    height: 40px;
    color: var(--clr-text);
}

.arrow-text {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    /* Fallback for handwritten feel */
    font-size: 0.9rem;
    line-height: 1.2;
    transform: rotate(-5deg);
}

/* ==========================================
   New Portfolio-Style Hero (vt-hero)
========================================== */
.vt-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.vt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

/* Status Badge */
.vt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* Heading */
.vt-hero-h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.vt-gradient-text {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing H2 */
.vt-hero-h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.vt-cursor {
    display: inline-block;
    animation: blink 0.8s step-end infinite;
    color: #7c3aed;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Description */
.vt-hero-desc {
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

/* Quick Stats row */
.vt-hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.vt-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #818cf8;
    line-height: 1;
}

.vt-stat-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: #71717a;
    letter-spacing: 0.08em;
    margin-top: 4px;
    text-transform: uppercase;
}

/* CTA Buttons */
.vt-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.vt-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vt-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.vt-btn-outline {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    transition: border-color 0.2s, background 0.2s;
}

.vt-btn-outline:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

/* === RIGHT: Image Ring & Devices Inside === */
.vt-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vt-img-ring {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, #0c0c1e 65%);
    border: 2px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.25), inset 0 0 40px rgba(124, 58, 237, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Devices inside the ring — floating gently */
.vt-device {
    position: absolute;
    will-change: transform;
}

.vt-dev-laptop {
    width: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dev-float-1 5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.vt-dev-quest {
    width: 95px;
    top: 12%;
    left: 10%;
    animation: dev-float-2 6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.vt-dev-phone {
    width: 45px;
    bottom: 15%;
    right: 14%;
    animation: dev-float-3 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes dev-float-1 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 6px));
    }

    100% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}

@keyframes dev-float-2 {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(-1deg);
    }

    100% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes dev-float-3 {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }

    100% {
        transform: translateY(-14px) rotate(-1deg);
    }
}

/* === Game Icons — evenly distributed around ring === */
.vt-game-icons {
    position: absolute;
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.vt-gicon {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(20, 20, 35, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    padding: 5px;
    pointer-events: auto;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(205px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
    animation: gicon-float 5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    animation-delay: var(--delay);
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.vt-gicon:hover {
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.4);
}

.vt-gicon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@keyframes gicon-float {
    0% {
        transform: rotate(var(--angle)) translateX(205px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
    }

    50% {
        transform: rotate(var(--angle)) translateX(205px) rotate(calc(-1 * var(--angle))) translate(-50%, calc(-50% - 6px));
    }

    100% {
        transform: rotate(var(--angle)) translateX(205px) rotate(calc(-1 * var(--angle))) translate(-50%, calc(-50% - 12px));
    }
}

/* === Floating Badges === */
.vt-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vt-floating-badge {
    position: absolute;
    background: rgba(15, 15, 30, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 8;
    animation: soft-float 4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.vt-floating-badge i {
    font-size: 1.3rem;
}

.vt-badge-top {
    top: 5%;
    right: -10%;
    animation-delay: 0s;
}

.vt-badge-bottom {
    bottom: 5%;
    left: -5%;
    animation-delay: 1.5s;
}

.vt-badge-txt {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e2e8f0;
}

.vt-badge-sub {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-top: 2px;
}

@keyframes soft-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* === Responsive === */
@media (max-width: 900px) {
    .vt-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vt-hero-image {
        order: -1;
    }

    .vt-img-ring {
        width: 240px;
        height: 240px;
    }

    .vt-hero-stats {
        justify-content: center;
    }

    .vt-hero-cta {
        justify-content: center;
    }

    .vt-status-badge {
        display: flex;
        width: fit-content;
        margin: 0 auto 1.5rem;
    }

    .vt-badge-top {
        right: 0;
        top: 0;
    }

    .vt-badge-bottom {
        left: 0;
        bottom: 0;
    }

    .vt-dev-laptop {
        width: 100px;
    }

    .vt-dev-quest {
        width: 65px;
    }

    .vt-dev-phone {
        width: 32px;
    }

    .vt-game-icons {
        width: 240px;
        height: 240px;
    }

    .vt-gicon {
        width: 40px;
        height: 40px;
        padding: 3px;
        border-radius: 10px;
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
    }
}



/* ==========================================
   Hero Visual Right Column (Exact Figma Redesign)
========================================== */
#figma-hero-visual {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

.figma-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.figma-lines path {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.5px;
    stroke-dasharray: 4 4;
    fill: none;
    /* Drawing animation classes added later via JS */
}

/* Base Card Style */
.card-pop {
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    /* Pop-in animation */
    animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: scale(0);
}

.card-pop:hover {
    transform: translateY(-5px) scale(1) !important;
    /* Scale 1 ensures hover doesn't break pop-in scale */
    box-shadow: 0 15px 35px rgba(250, 204, 21, 0.15);
}

@keyframes pop-in {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* Nodes */
.fc-node {
    width: 8px;
    height: 8px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.node-left-center {
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
}

.node-right-center {
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
}

.node-top-center {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.node-bottom-center {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Center Card --- */
.fc-center {
    width: 320px;
    height: 360px;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fc-top-bar {
    background: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-brand {
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.fc-hexagon {
    color: #facc15;
    font-size: 1.2rem;
    line-height: 1;
}

.fc-screen {
    flex-grow: 1;
    background: #000;
    border-bottom: 50px solid #111;
}

.fc-banner {
    position: absolute;
    bottom: 20px;
    width: 100%;
    background: #facc15;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 12px 0;
    text-align: center;
    transform: rotate(-5deg) scale(1.05);
}

/* --- Avatars Pill --- */
.fc-avatars-pill {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: -8px;
    top: 50%;
    left: -15%;
    /* Overlaps left side of visual area */
    transform: translateY(-50%) scale(0);
    /* Handled by animation, base setup here */
    transform-origin: center;
    z-index: 4;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: -15px;
    /* Overlap effect */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.avatar-circle.av-green {
    background: #10b981;
    z-index: 3;
}

.avatar-circle.av-blue {
    background: #3b82f6;
    z-index: 2;
}

.avatar-circle.av-black {
    background: #000;
    z-index: 1;
    margin-bottom: 0;
}

/* --- Stat Cards Base --- */
.fc-stat {
    background: #fff;
    color: #000;
    border-radius: 12px;
    padding: 15px 20px;
    width: 150px;
}

.fc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fc-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.fc-score {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
}

.fc-stars-yellow {
    color: #facc15;
    font-size: 0.85rem;
}

.fc-reviews {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
}

/* Positions */
.fc-upwork {
    top: 5%;
    left: 0%;
}

.fc-title-upwork {
    color: #14a800;
    font-weight: 800;
    font-size: 0.9rem;
}

.fc-star-pink {
    color: #ec4899;
    font-size: 0.9rem;
}

.fc-contra {
    bottom: 10%;
    left: 5%;
}

.fc-title-contra {
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
}

.fc-icon-black {
    color: #000;
    font-size: 0.9rem;
    font-weight: 900;
}

.fc-google {
    bottom: 5%;
    right: 0%;
}

.fc-title-google {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.5px;
}

/* --- Tools Card --- */
.fc-tools {
    top: 5%;
    right: 5%;
    display: flex;
    gap: 8px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}

.fc-tools:hover {
    box-shadow: none;
}

.tool-sq {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.yellow-sq {
    background: #facc15;
}

.black-dot {
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
}

.black-sq {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: monospace;
    font-size: 1.2rem;
}

/* Background Base Effects (retained from old styling but adjusted) */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.4);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.3);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-wrapper {
        justify-content: center;
    }

    .hero-visual {
        transform: scale(0.8);
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-cta-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-visual {
        transform: scale(0.6);
        height: 400px;
        margin-top: -50px;
    }
}

/* ==========================================
   Scrolling Marquee (We Boost Your Business)
========================================== */
.marquee-scroller-border {
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    padding: 15px 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleed trick */
}

.marquee-scroller {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: scroll-marquee 20s linear infinite;
}

.marquee-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.marquee-star {
    color: #facc15;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    top: -2px;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   Sections Formats (Services, Portfolio, etc.)
========================================== */
.section-header {
    margin-bottom: var(--spacing-lg);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-link {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--clr-primary);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.service-link:hover {
    color: var(--clr-secondary);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item {
    padding: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #1e1b4b, #312e81);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.portfolio-image.dark {
    background: linear-gradient(45deg, #0f172a, #1e293b);
}

.portfolio-image span {
    font-size: 2rem;
    font-weight: 800;
    opacity: 0.2;
    color: white;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95), rgba(9, 9, 11, 0));
}

.category {
    font-size: 0.8rem;
    color: var(--clr-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    color: rgba(139, 92, 246, 0.2);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    line-height: 1;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-text);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
}

.client-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

/* Contact Section & Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    animation: fade-in-up 0.8s ease forwards;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.trust-badge:hover {
    transform: translateY(-3px);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.trust-badge i {
    color: #facc15;
}

.trust-badge .upwork-brand {
    color: #14a800;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-list {
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contact-list li:hover {
    transform: translateX(10px);
}

.contact-list .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Contact Form Enhancements */
.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

/* Animated Glow Background for Form */
.contact-glow-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15), rgba(236, 72, 153, 0.15));
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.7;
    animation: animate-glow 8s ease-in-out infinite alternate;
}

@keyframes animate-glow {
    0% {
        transform: scale(0.95) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.02) rotate(2deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.98) rotate(-2deg);
        opacity: 0.6;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    color: var(--clr-text);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.secure-trust-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.secure-trust-text i {
    color: #10b981;
}

/* Form vs Calendly Tabs */
.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-muted);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.contact-tab-btn.active,
.contact-tab-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
    border-color: var(--clr-primary);
}

.contact-tab-content {
    display: none;
    animation: fade-in-up 0.4s ease forwards;
}

.contact-tab-content.active {
    display: block;
}

/* FAQ Section */
.faq-section {
    background: #0c0c0e;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.faq-icon {
    color: var(--clr-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* arbitrary high number */
    padding-bottom: 1.5rem;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
}

.faq-answer p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   New Sections (Partners, Industries, Tech)
========================================== */
.section-subtitle {
    color: #f97316;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

/* Technologies Section Redesign */
.tech-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
}

.tech-tab {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.tech-tab:hover,
.tech-tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-base);
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.tech-logo {
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Partners */
.partners-logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.partner-logo {
    transition: var(--transition-base);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: default;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Helper Classes */
.text-left {
    text-align: left;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-inline: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Services text expansion adjustments */
.service-desc {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Industries expansion adjustments */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.ind-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.icon-blue {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.icon-green {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
}

.icon-red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.icon-yellow {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.icon-purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
}

.icon-pink {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
}

.icon-orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
}

.icon-lightgreen {
    color: #a3e635;
    background: rgba(163, 230, 53, 0.1);
}

.industry-card h4 {
    font-size: 1.2rem;
    margin: 0;
}

.ind-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--clr-text-muted);
}

/* Company Journey & Achievements */
.journey {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.metric-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.metric-card p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--clr-text);
}

/* Technologies */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
}

.tech-icon {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
    color: var(--clr-text-muted);
}

.tech-icon:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--clr-text);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
}

/* ==========================================
   Featured Projects (Portfolio)
========================================== */

/* Portfolio Filter Buttons */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--clr-text-muted);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--clr-primary), #6d28d9);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.filter-btn i {
    font-size: 0.8rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 ratio */
    overflow: hidden;
    background: #000;
}

.img-wrapper video,
.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .img-wrapper video,
.project-item:hover .img-wrapper img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(139, 92, 246, 0.1);
    color: var(--clr-primary, #8b5cf6);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
    letter-spacing: 0.02em;
}

.project-links {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.project-links .small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================
   Portfolio Page - Detailed Project Cards
========================================== */
.project-media {
    position: relative;
    width: 100%;
    padding-top: 133%;
    /* 9:16 portrait ratio */
    overflow: hidden;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* No cropping - full video visible */
    transition: transform 0.5s ease;
    background: #0a0a0a;
}

.project-item:hover .project-video video {
    transform: scale(1.05);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title-category {
    flex: 1;
    min-width: 0;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.project-category {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 0.8rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.detail-label {
    color: var(--clr-text-muted);
    font-weight: 500;
}

.detail-value {
    color: #e2e8f0;
    font-weight: 600;
}

.status-completed {
    color: #22c55e;
    font-weight: 600;
}

.status-live {
    color: #3b82f6;
    font-weight: 600;
}

.project-description {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--clr-primary);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
    letter-spacing: 0.02em;
}

.project-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.playstore-btn {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.playstore-btn:hover {
    background: rgba(52, 211, 153, 0.2);
    transform: translateY(-2px);
}

.appstore-btn {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.appstore-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.store-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Project item hidden for filtering */
.project-item.hidden {
    display: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--clr-border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 2.5rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
}

.footer-desc {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: serif;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--clr-primary);
    color: white;
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.contact-list-sm li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    padding: 1rem;
    padding-right: 3.5rem;
    border-radius: 50px;
    background: white;
    color: #333;
    border: none;
    width: 100%;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

.newsletter-form .btn-icon {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 42px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* ==========================================
   Animations & Utilities
========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--clr-border);
    }

    /* Widget Mobile Adjustments */
    .widget-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .widget-whatsapp svg {
        width: 30px;
        height: 30px;
    }

    .widget-hire {
        top: 65%;
    }
}

/* ==========================================
   Global Floating Widgets
========================================== */
.global-widgets {
    position: relative;
    z-index: 1000;
}

/* WhatsApp Widget */
.widget-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.widget-whatsapp:hover {
    transform: scale(1.05);
}

.widget-whatsapp svg {
    width: 35px;
    height: 35px;
}

/* Hire Developer Widget */
.widget-hire {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    border-radius: 50px 0 0 50px;
    padding: 8px 15px 8px 10px;
    text-decoration: none;
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.6);
    width: 65px;
    height: 60px;
    /* fixed height keeps it stable */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
}

.widget-hire:hover {
    width: 250px;
}

.hire-icon-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hire-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hire-content {
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0s;
    margin-left: 15px;
    white-space: nowrap;
}

.widget-hire:hover .hire-content {
    opacity: 1;
    transition-delay: 0.15s;
}

.hire-divider {
    width: 4px;
    height: 24px;
    background: #facc15;
    margin-right: 15px;
    border-radius: 4px;
}

.hire-text {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 0.04em;
    color: #fff;
}

/* Booking Widget */
.widget-booking {
    position: fixed;
    right: 0;
    top: calc(50% + 70px);
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    border-radius: 50px 0 0 50px;
    padding: 8px 15px 8px 10px;
    text-decoration: none;
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.6);
    width: 65px;
    height: 60px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
}

.widget-booking:hover {
    width: 250px;
}

.booking-icon-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b5cf6;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.booking-content {
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0s;
    margin-left: 15px;
    white-space: nowrap;
}

.widget-booking:hover .booking-content {
    opacity: 1;
    transition-delay: 0.15s;
}

.booking-divider {
    width: 4px;
    height: 24px;
    background: #8b5cf6;
    margin-right: 15px;
    border-radius: 4px;
}

.booking-text {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 0.04em;
    color: #fff;
}

/* ==========================================
   Testimonials Section
========================================== */
.testimonials {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--clr-bg) 0%, rgba(139, 92, 246, 0.03) 50%, var(--clr-bg) 100%);
}

/* Trust indicators strip */
.testimonial-trust-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.trust-pill i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

/* Carousel layout */
.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: 20px;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Individual Card */
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(24, 24, 27, 0.85);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.08);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Quote Icon */
.tc-quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Review Text */
.tc-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d4d4d8;
    flex: 1;
}

/* Stars */
.tc-stars {
    display: flex;
    gap: 3px;
}

.tc-stars i {
    color: #fbbf24;
    font-size: 0.85rem;
}

/* Client Info */
.tc-client {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.tc-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.tc-meta {
    font-size: 0.8rem;
    color: #71717a;
    margin-top: 2px;
}

/* Tags */
.tc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tc-tags span {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    letter-spacing: 0.02em;
}

/* Arrow Buttons */
.testimonial-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(8px);
    color: #a1a1aa;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 5;
}

.testimonial-arrow:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Dot Navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(139, 92, 246, 0.5);
}

.testimonial-dot.active {
    background: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    width: 28px;
    border-radius: 5px;
}

/* Responsive: Tablet — 2 cards */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

/* Responsive: Mobile — 1 card */
@media (max-width: 640px) {
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-arrow {
        display: none;
    }

    .testimonial-trust-strip {
        gap: 0.5rem;
    }

    .trust-pill {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
}