* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --teal-blue: #0891b2;
            --teal-dark: #0e7490;
            --orange: #f97316;
            --orange-dark: #ea580c;
            --text-primary: #0f172a;
            --text-secondary: #334155;
            --text-light: #64748b;
            --white: #ffffff;
            --gray-light: #f8fafc;
            --border: #e2e8f0;
            --gradient-main: linear-gradient(135deg, var(--teal-blue) 0%, var(--orange) 100%);
        }

        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            /* background: var(--white); */
          
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Container */
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            
        }

        /* Gradient Text */
        .gradient-text {
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            font-weight: 800;
        }

        /* Hero Section */
        .hero {
            min-height: 50vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 1rem 1rem 2rem;
            /* background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%); */
            background:linear-gradient(176deg, #ebfdf3 0%, #ffeeee 100%);
            position: relative;
        }
      @media all and (min-width: 320px) and (max-width: 500px) {
             .hero {
            min-height: 30vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0rem 1rem 0rem;
            /* background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%); */
            background:linear-gradient(176deg, #ebfdf3 0%, #ffeeee 100%);
            position: relative;
        }

        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            /* background: 
                radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 40%); */
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.5rem;
            background: var(--gradient-main);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--white);
            margin-bottom: 1.5rem;
            animation: slideDown 0.8s ease-out;
            clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 7vw, 5rem);
            font-weight: 700;
            line-height: 1;
            text-align: center;
            margin-bottom: 1rem;
            color: var(--text-primary);
            animation: fadeInScale 1s ease-out 0.2s both;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .hero-subtitle {
            font-size: clamp(0.95rem, 1.5vw, 1.125rem);
            color: var(--text-secondary);
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
            animation: slideUp 0.8s ease-out 0.4s both;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Portfolio Section */
        .portfolio-section {
            padding: 1rem 0;
            background: var(--white);
            position: relative;
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--teal-blue);
            margin-bottom: 0.5rem;
        }

        .section-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .section-desc {
            font-size: clamp(0.95rem, 1.5vw, 1.05rem);
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Sticky Filter Navigation */
        .filter-wrapper {
            position: sticky;
            top: 0;
            z-index: 0;
            /* background: rgba(255, 255, 255, 0.98); */
            background: 
                radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            margin-bottom: 2rem;
            transition: all 0.3s ease;
        }

        .filter-wrapper.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            padding: 0.75rem 0;
        }

        .filter-tabs {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .filter-tab {
            padding: 0.75rem 2rem;
            background: white;
            border: 2px solid var(--border);
            color: var(--text-secondary);
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s;
            border-radius: 25px;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            position: relative;
            overflow: hidden;
        }

        .filter-tab::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-main);
            transition: left 0.3s;
            z-index: -1;
        }

        .filter-tab:hover {
            border-color: var(--teal-blue);
            color: var(--teal-blue);
        }

        .filter-tab.active {
            color: white;
            /* border-color: transparent; */
             background: var(--gradient-main);
        }

        .filter-tab.active::before {
            left: 0;
        }

   /* Hide next/prev on desktop */
.filter-mobile-nav {
    display: none;
}

/* MOBILE VIEW */
@media (max-width: 480px) {
    .filter-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-mobile-nav {
        display: block;
    }

    .nav-btn {
        background: var(--gradient-main);
        border: none;
        color: white;
        padding:0px 10px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
    }

    .filter-tabs {
        display: flex;
        width: 70%;
        justify-content: center;
    }

    .filter-tab {
        display: none; /* hide all pills initially */
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .filter-tab.show {
        display: block; /* show only the selected pill */
    }
}


        /* Portfolio Grid */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        /* Portfolio Items */
        .portfolio-item {
            opacity: 0;
            animation: fadeInUp 0.6s forwards;
            animation-delay: calc(var(--index) * 0.1s);
            display: none;
        }

        .portfolio-item.show {
            display: block;
        }

        /* SEO Project Cards */
        .seo-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .seo-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .seo-card .card-header {
            padding: 1.25rem;
            background: linear-gradient(135deg, rgba(8, 145, 178, 0.05), rgba(249, 115, 22, 0.05));
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .icon-badge {
            width: 40px;
            height: 40px;
            background: var(--gradient-main);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-badge svg {
            width: 20px;
            height: 20px;
            stroke: white;
        }

        .project-type {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--teal-blue);
        }

        .seo-card .project-title {
            padding: 0 1.25rem;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .seo-card .project-image {
            position: relative;
            height: 180px;
            overflow: hidden;
            margin: 0 1.25rem;
            border-radius: 8px;
        }

        .seo-card .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .seo-card:hover .project-image img {
            transform: scale(1.1);
        }

        .seo-card .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(8, 145, 178, 0.9), rgba(249, 115, 22, 0.9));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .seo-card:hover .overlay {
            opacity: 1;
        }

        .view-btn {
            padding: 0.75rem 1.5rem;
            background: white;
            color: var(--teal-blue);
            border: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .view-btn:hover {
            transform: scale(1.05);
        }

        .seo-metrics {
            padding: 1.25rem;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            margin-top: auto;
            background: var(--gray-light);
        }

        .metric-item {
            text-align: center;
        }

        .metric-number {
            display: block;
            font-size: 1.25rem;
            font-weight: 800;
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .metric-text {
            display: block;
            font-size: 0.65rem;
            color: var(--text-light);
            text-transform: uppercase;
            margin-top: 0.25rem;
        }

        /* Video Campaign Cards */
        .video-campaign-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            cursor: pointer;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .video-campaign-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .campaign-header {
            padding: 1.25rem;
            background: linear-gradient(135deg, rgba(240, 147, 251, 0.1), rgba(245, 87, 108, 0.1));
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .video-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #f093fb, #f5576c);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-icon svg {
            width: 20px;
            height: 20px;
            stroke: white;
            fill: white;
        }

        .campaign-badge {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #f5576c;
        }

        .campaign-preview {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .campaign-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .video-campaign-card:hover .campaign-preview img {
            transform: scale(1.05);
        }

        .play-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .video-campaign-card:hover .play-overlay {
            background: rgba(0, 0, 0, 0.5);
        }

        .play-button {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .video-campaign-card:hover .play-button {
            transform: scale(1.1);
            background: white;
        }

        .play-button svg {
            width: 24px;
            height: 24px;
            margin-left: 3px;
            fill: var(--text-primary);
        }

        .video-count {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }

        .count-number {
            font-size: 1.5rem;
            font-weight: 800;
            display: block;
        }

        .count-text {
            font-size: 0.65rem;
            text-transform: uppercase;
            opacity: 0.9;
        }

        .campaign-info {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .campaign-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .campaign-client {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .campaign-stats {
            display: flex;
            gap: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
            margin-top: auto;
        }

        .stat {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
            font-weight: 600;
        }

        .stat-icon {
            font-size: 1rem;
        }

        /* Web Development Cards */
        .web-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            height: 100%;
            position: relative;
        }

        .web-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .web-image {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

        .web-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .web-card:hover .web-image img {
            transform: scale(1.1);
        }

        .web-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(8, 145, 178, 0.95), rgba(249, 115, 22, 0.95));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            color: white;
            padding: 2rem;
            text-align: center;
        }

        .web-card:hover .web-overlay {
            opacity: 1;
        }

        .overlay-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .overlay-link {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.5rem 1rem;
            background: white;
            color: var(--teal-blue);
            text-decoration: none;
            font-weight: 700;
            margin-top: 0.5rem;
            font-size: 0.75rem;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .web-content {
            padding: 1.25rem;
        }

        .web-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        /* .web-meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-light);
            font-size: 0.875rem;
        } */

        /* Graphic Design Cards */
        .design-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            height: 100%;
        }

        .design-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .design-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .design-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .design-icon svg {
            width: 20px;
            height: 20px;
            stroke: white;
        }

        .design-badge {
            padding: 0.3rem 0.6rem;
            background: rgba(102, 126, 234, 0.1);
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: 4px;
            color: #667eea;
        }

        .design-image {
            width: 100%;
            height: 180px;
            margin: 0.75rem 0;
            overflow: hidden;
            position: relative;
            border-radius: 8px;
        }

        .design-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .design-card:hover .design-image img {
            transform: scale(1.1);
        }

        .design-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .design-description {
            line-height: 1.5;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
        }

        .design-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .design-tags {
            display: flex;
            gap: 0.3rem;
        }

        .design-tag {
            padding: 0.25rem 0.5rem;
            background: rgba(102, 126, 234, 0.08);
            font-size: 0.65rem;
            font-weight: 600;
            border-radius: 4px;
            color: var(--text-secondary);
        }

        .design-link {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            color: #667eea;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.75rem;
            transition: gap 0.3s;
        }

        .design-link:hover {
            gap: 0.5rem;
        }

        /* Video Gallery Modal */
        .video-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            overflow-y: auto;
            padding: 2rem;
        }

        .video-modal.active {
            display: block;
            animation: fadeIn 0.3s;
        }

        .modal-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .close-modal {
            position: fixed;
            top: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 2rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 10000;
        }

        .close-modal:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .modal-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .modal-title {
            font-size: 2.5rem;
            color: white;
            margin-bottom: 0.5rem;
        }

        .modal-subtitle {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.125rem;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .video-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

        .video-item:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.1);
        }

        .video-thumbnail {
            position: relative;
            height: 180px;
            overflow: hidden;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .video-duration {
            position: absolute;
            bottom: 0.5rem;
            right: 0.5rem;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            color: white;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .filter-tabs {
                /*width: 100%;*/
                 max-width: 53%;
            }
            
            .filter-tab {
                padding: 0.6rem 1.2rem;
                font-size: 0.75rem;
                max-width:200px;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .seo-metrics {
                padding: 1rem;
            }
            
            .campaign-stats {
                flex-wrap: wrap;
            }
            
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .filter-tab {
                padding: 0.5rem 1rem;
                font-size: 0.7rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .campaign-preview {
                height: 150px;
            }
            
            .video-grid {
                grid-template-columns: 1fr;
            }
            
            .modal-title {
                font-size: 1.75rem;
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }