/* Custom scrollbar */

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: #050A14;
            z-index: 999;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 24px;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        /* Buttons */
        .btn-primary {
            background: linear-gradient(135deg, #1EBBD7 0%, #0D7377 100%);
            color: #050A14;

            padding: 12px 24px;
            border-radius: 9999px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(30, 187, 215, 0.3);
        }

        .btn-outline {
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;

            padding: 12px 24px;
            border-radius: 9999px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.4);
        }

        /* Portfolio Card */
        .portfolio-card {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            aspect-ratio: 4/5;
        }

        .portfolio-card img {
            transition: transform 0.5s ease;
        }

        .portfolio-card:hover img {
            transform: scale(1.05);
        }

        .portfolio-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(5, 10, 20, 0.95), rgba(5, 10, 20, 0.3));
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 24px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .portfolio-content {
            transform: translateY(20px);
            transition: transform 0.4s ease;
        }

        .portfolio-card:hover .portfolio-content {
            transform: translateY(0);
        }

        /* Filter Tabs */
        .filter-tab {
            padding: 10px 20px;
            border-radius: 9999px;
            font-size: 14px;

            color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .filter-tab:hover,
        .filter-tab.active {
            background: #1EBBD7;
            color: #050A14;
            border-color: var(--color-primary);
        }

        /* Stats Counter */
        .stat-number {
            font-size: 3.5rem;

            background: linear-gradient(135deg, #1EBBD7 0%, #0D7377 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Case Study Card */
        .case-study-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.4s ease;
        }

        .case-study-card:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(30, 187, 215, 0.3);
            transform: translateY(-4px);
        }

        /* Testimonial Card */
        .testimonial-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.4s ease;
        }

        .testimonial-card:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(30, 187, 215, 0.3);
        }

        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(135deg, #1EBBD7 0%, #ffffff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        body.portfolio-page main,
        body.portfolio-page .page-content,
        body.portfolio-page .portfolio-page,
        body.portfolio-page .portfolio-section,
        body.portfolio-page .portfolio-grid,
        body.portfolio-page .portfolio-grid-container,
        body.portfolio-page .portfolio-card {
            opacity: 1 !important;
            visibility: visible !important;
            height: auto !important;
            position: relative;
            z-index: 2;
        }

        body.portfolio-page .portfolio-grid,
        body.portfolio-page .portfolio-grid-container {
            display: grid !important;
        }

        body.portfolio-page .portfolio-card {
            display: block;
        }

        body.portfolio-page [data-aos],
        body.portfolio-page .reveal,
        body.portfolio-page .fade-up,
        body.portfolio-page .animate-on-scroll {
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
        }
