
        :root {
            --bg-primary: #1a1d2e;
            --bg-secondary: #252837;
            --accent-green: #4ade80;
            --text-primary: #e5e7eb;
            --text-secondary: #9ca3af;
            --border-color: #374151;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
        }

        html.lenis {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        .lenis.lenis-scrolling iframe {
            pointer-events: none;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            overflow: hidden;
            height: auto;
        }

        .hero-section {
            position: relative;
            padding: 80px 0;
            overflow: hidden;
        }

        .hero-image-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .hero-image {
            width: 100%;
            max-width: 400px;
            height: auto;
            border-radius: 20px;
            position: relative;
            z-index: 2;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 80px rgba(74, 222, 128, 0.2);
        }

        .hero-image-container::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            height: 90%;
            background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse-glow-hero 4s ease-in-out infinite;
            z-index: 1;
        }

        @keyframes pulse-glow-hero {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.5;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.8;
            }
        }

        .hero-image:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                        0 0 100px rgba(74, 222, 128, 0.3);
        }

        .ecg-bg {
            position: absolute;
            right: 0;
            top: 0;
            width: 60%;
            height: 100%;
            opacity: 0.25;
            overflow: hidden;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
            background-size: 20px 20px;
        }

        .ecg-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 50%, rgba(74, 222, 128, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .ecg-line {
            position: absolute;
            width: 150%;
            height: 100%;
            top: 0;
            left: -50%;
            animation: ecgSlide 8s linear infinite;
            filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.4));
        }

        .ecg-line-2 {
            animation: ecgSlide 12s linear infinite;
            opacity: 0.5;
            top: 20%;
        }

        .ecg-path {
            animation: ecgPulse 2s ease-in-out infinite;
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -1px;
        }

        h2 {
            font-size: 1.5rem;
            color: var(--accent-green);
            font-weight: 400;
            margin-bottom: 1rem;
        }

        .subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .description {
            max-width: 700px;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .btn-custom {
            padding: 12px 32px;
            border: 2px solid var(--text-primary);
            background: transparent;
            color: var(--text-primary);
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin-right: 1rem;
        }

        .btn-custom:hover {
            background: var(--text-primary);
            color: var(--bg-primary);
            transform: translateY(-2px);
        }

        .btn-github {
            border-color: var(--border-color);
            color: var(--text-secondary);
        }

        .btn-github:hover {
            background: var(--border-color);
            color: var(--text-primary);
        }

        .btn-lab-link {
            border-color: var(--accent-green);
            color: var(--accent-green);
            background: rgba(74, 222, 128, 0.1);
            position: relative;
            overflow: hidden;
        }

        .btn-lab-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--accent-green);
            transition: left 0.4s ease;
            z-index: -1;
        }

        .btn-lab-link:hover::before {
            left: 0;
        }

        .btn-lab-link:hover {
            color: var(--bg-primary);
            border-color: var(--accent-green);
            box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
            transform: translateY(-2px);
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }

        .tech-card {
            background: transparent;
            border: 1px solid rgba(74, 222, 128, 0.15);
            border-radius: 12px;
            padding: 0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .tech-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(74, 222, 128, 0.03) 0%, rgba(37, 40, 55, 0.4) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 0;
        }

        .tech-card::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, var(--accent-green), transparent 60%);
            border-radius: 12px;
            opacity: 0;
            z-index: -1;
            transition: opacity 0.5s ease;
        }

        .tech-card:hover {
            border-color: var(--accent-green);
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 60px rgba(74, 222, 128, 0.15);
        }

        .tech-card:hover::before {
            opacity: 1;
        }

        .tech-card:hover::after {
            opacity: 0.3;
        }

        .tech-card-inner {
            padding: 2.5rem 2rem;
            position: relative;
            z-index: 1;
        }

        .tech-icon {
            width: 60px;
            height: 60px;
            background: rgba(74, 222, 128, 0.1);
            border: 1px solid rgba(74, 222, 128, 0.3);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.5s ease;
        }

        .tech-card:hover .tech-icon {
            background: rgba(74, 222, 128, 0.2);
            border-color: var(--accent-green);
            transform: rotate(-5deg) scale(1.1);
            box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
        }

        .tech-icon i {
            font-size: 1.8rem;
            color: var(--accent-green);
            transition: all 0.5s ease;
        }

        .tech-card:hover .tech-icon i {
            transform: scale(1.1);
            filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.8));
        }

        .tech-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: -0.5px;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            transition: all 0.3s ease;
        }

        .tech-card:hover h3 {
            color: var(--accent-green);
            transform: translateX(5px);
        }

        .tech-divider {
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-green), transparent);
            margin-bottom: 1.25rem;
            transition: all 0.5s ease;
        }

        .tech-card:hover .tech-divider {
            width: 60px;
            box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
        }

        .tech-list {
            color: var(--text-secondary);
            line-height: 1.9;
            font-size: 0.95rem;
            font-weight: 400;
            transition: all 0.3s ease;
        }

        .tech-card:hover .tech-list {
            color: var(--text-primary);
        }

        .tech-count {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 32px;
            height: 32px;
            background: rgba(74, 222, 128, 0.05);
            border: 1px solid rgba(74, 222, 128, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--accent-green);
            transition: all 0.4s ease;
        }

        .tech-card:hover .tech-count {
            background: rgba(74, 222, 128, 0.15);
            border-color: var(--accent-green);
            transform: scale(1.15) rotate(360deg);
        }

        .project-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
            gap: 2.5rem;
            margin: 4rem 0;
        }

        .project-card {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, #1f2233 100%);
            border: 1px solid transparent;
            border-radius: 16px;
            padding: 0;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 16px;
            padding: 1px;
            background: linear-gradient(135deg, var(--accent-green) 0%, transparent 50%, var(--accent-green) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0.5;
            transition: opacity 0.4s ease;
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(74, 222, 128, 0.2), 0 0 40px rgba(74, 222, 128, 0.1);
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-card:hover::after {
            opacity: 1;
        }

        .project-header {
            padding: 2rem 2rem 1rem 2rem;
            position: relative;
            z-index: 1;
        }

        .project-badge {
            display: inline-block;
            background: rgba(74, 222, 128, 0.1);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .project-badge-opensource {
            display: inline-block;
            background: rgba(74, 222, 128, 0.1);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .section-divider {
            margin: 4rem 0 3rem 0;
            text-align: center;
            position: relative;
        }

        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, var(--accent-green) 50%, transparent 100%);
            opacity: 0.3;
        }

        .section-divider-text {
            display: inline-block;
            padding: 0.75rem 2rem;
            background: var(--bg-primary);
            border: 1px solid rgba(74, 222, 128, 0.3);
            border-radius: 30px;
            position: relative;
            z-index: 1;
        }

        .section-divider-text span {
            color: var(--accent-green);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .project-card h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-green) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .project-card .subtitle-small {
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .project-card .tech-tags {
            color: var(--accent-green);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            font-weight: 500;
        }

        .project-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            padding: 0 2rem 1.5rem 2rem;
            position: relative;
            z-index: 1;
        }

        .stat-item {
            text-align: center;
            padding: 1rem;
            background: rgba(74, 222, 128, 0.05);
            border: 1px solid rgba(74, 222, 128, 0.2);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            background: rgba(74, 222, 128, 0.1);
            border-color: var(--accent-green);
        }

        .stat-value {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--accent-green);
            display: block;
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.7rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .project-diagram {
            background: var(--bg-primary);
            border-top: 1px solid rgba(74, 222, 128, 0.2);
            border-bottom: 1px solid rgba(74, 222, 128, 0.2);
            padding: 2rem;
            margin: 0;
            min-height: 160px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            position: relative;
            overflow: hidden;
        }

        .project-diagram::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.03) 50%, transparent 100%);
            animation: scan 3s linear infinite;
        }

        @keyframes scan {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }

        .diagram-box {
            background: var(--bg-secondary);
            border: 1px solid var(--accent-green);
            padding: 1rem 1.25rem;
            border-radius: 8px;
            font-size: 0.85rem;
            text-align: center;
            position: relative;
            box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
            transition: all 0.3s ease;
            z-index: 1;
        }

        .diagram-box:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
        }

        .diagram-box::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, var(--accent-green), transparent);
            border-radius: 8px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .diagram-box:hover::before {
            opacity: 0.5;
        }

        .diagram-arrow {
            color: var(--accent-green);
            font-size: 1.5rem;
            filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
            animation: pulse-arrow 2s ease-in-out infinite;
        }

        @keyframes pulse-arrow {
            0%, 100% {
                opacity: 0.6;
                transform: scale(1);
            }
            50% {
                opacity: 1;
                transform: scale(1.1);
            }
        }

        .project-footer {
            padding: 1.5rem 2rem 2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .tech-specs {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .tech-chip {
            background: rgba(74, 222, 128, 0.1);
            border: 1px solid rgba(74, 222, 128, 0.3);
            color: var(--accent-green);
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .tech-chip:hover {
            background: rgba(74, 222, 128, 0.2);
            border-color: var(--accent-green);
            transform: translateY(-2px);
        }

        .btn-small {
            padding: 8px 20px;
            font-size: 0.9rem;
            border: 1px solid var(--border-color);
            background: transparent;
            color: var(--text-primary);
            border-radius: 4px;
            margin-right: 0.75rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-small:hover {
            background: var(--border-color);
            color: var(--text-primary);
        }

        footer {
            border-top: 1px solid var(--border-color);
            padding: 2rem 0;
            margin-top: 4rem;
            text-align: center;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-quote {
            font-style: italic;
            color: var(--text-secondary);
            margin: 1rem 0;
        }

        .footer-tagline {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .github-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .github-link:hover {
            color: var(--accent-green);
        }

        .dots {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            margin: 1rem 0;
        }

        .dot {
            width: 8px;
            height: 8px;
            background: var(--border-color);
            border-radius: 50%;
        }

        .dot.active {
            background: var(--accent-green);
        }

        /* Quote Carousel */
        .quote-carousel {
            max-width: 800px;
            margin: 1rem auto;
        }

        .quote-carousel .splide__slide {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quote-carousel .footer-quote {
            margin: 0;
            padding: 0 2rem;
        }

        /* Splide Pagination Dots */
        .splide__pagination {
            bottom: -2.5rem;
            padding: 0;
        }

        .splide__pagination__page {
            width: 8px;
            height: 8px;
            background: var(--border-color);
            border-radius: 50%;
            border: none;
            opacity: 1;
            transition: all 0.3s ease;
            margin: 0 0.25rem;
        }

        .splide__pagination__page.is-active {
            background: var(--accent-green);
            transform: scale(1.2);
        }

        .splide__pagination__page:hover {
            background: var(--accent-green);
            opacity: 0.8;
        }

        /* Hide Splide arrows since we only want dots */
        .splide__arrows {
            display: none;
        }

        /* Pagination Controls */
        #pagination-container {
            text-align: center;
            margin: 3rem 0;
            position: relative;
        }

        .paginationjs {
            display: inline-block;
            background: linear-gradient(135deg, rgba(37, 40, 55, 0.8) 0%, rgba(26, 29, 46, 0.9) 100%);
            padding: 1rem 1.5rem;
            border-radius: 16px;
            border: 1px solid rgba(74, 222, 128, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(74, 222, 128, 0.1);
            backdrop-filter: blur(10px);
        }

        .paginationjs .paginationjs-pages {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            align-items: center;
        }

        .paginationjs .paginationjs-pages li {
            list-style: none;
        }

        .paginationjs .paginationjs-pages li > a {
            min-width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(37, 40, 55, 0.8) 100%);
            border: 2px solid var(--border-color);
            color: var(--text-primary);
            border-radius: 12px;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            padding: 0 1.25rem;
            position: relative;
            overflow: hidden;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
        }

        .paginationjs .paginationjs-pages li > a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .paginationjs .paginationjs-pages li > a:hover::before {
            left: 100%;
        }

        .paginationjs .paginationjs-pages li > a:hover {
            background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
            border-color: var(--accent-green);
            color: var(--accent-green);
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3), 0 0 0 3px rgba(74, 222, 128, 0.1);
        }

        .paginationjs .paginationjs-pages li.active > a {
            background: linear-gradient(135deg, var(--accent-green) 0%, #3bc46e 100%);
            border-color: var(--accent-green);
            color: var(--bg-primary);
            font-weight: 700;
            min-width: 52px;
            height: 52px;
            box-shadow: 0 0 30px rgba(74, 222, 128, 0.5),
                        0 0 60px rgba(74, 222, 128, 0.3),
                        0 4px 20px rgba(74, 222, 128, 0.4),
                        inset 0 1px 0 rgba(255, 255, 255, 0.2);
            animation: pulse-glow 2s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% {
                box-shadow: 0 0 30px rgba(74, 222, 128, 0.5),
                            0 0 60px rgba(74, 222, 128, 0.3),
                            0 4px 20px rgba(74, 222, 128, 0.4),
                            inset 0 1px 0 rgba(255, 255, 255, 0.2);
            }
            50% {
                box-shadow: 0 0 40px rgba(74, 222, 128, 0.6),
                            0 0 80px rgba(74, 222, 128, 0.4),
                            0 4px 25px rgba(74, 222, 128, 0.5),
                            inset 0 1px 0 rgba(255, 255, 255, 0.3);
            }
        }

        .paginationjs .paginationjs-pages li.disabled > a {
            opacity: 0.3;
            cursor: not-allowed;
            background: var(--bg-secondary);
        }

        .paginationjs .paginationjs-pages li.disabled > a:hover {
            background: var(--bg-secondary);
            border-color: var(--border-color);
            color: var(--text-primary);
            transform: none;
            box-shadow: none;
        }

        .paginationjs .paginationjs-prev > a,
        .paginationjs .paginationjs-next > a {
            font-weight: 700;
            padding: 0 1.5rem;
            background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
            border-color: rgba(74, 222, 128, 0.3);
        }

        .paginationjs .paginationjs-prev > a:hover,
        .paginationjs .paginationjs-next > a:hover {
            background: linear-gradient(135deg, rgba(74, 222, 128, 0.25) 0%, rgba(74, 222, 128, 0.15) 100%);
            border-color: var(--accent-green);
        }

        .paginationjs-go-input {
            display: none;
        }

        /* Add shine effect to container */
        .paginationjs::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg,
                transparent 0%,
                rgba(74, 222, 128, 0.1) 50%,
                transparent 100%);
            border-radius: 16px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: -1;
        }

        .paginationjs:hover::after {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .paginationjs {
                padding: 0.75rem 1rem;
            }

            .paginationjs .paginationjs-pages {
                gap: 0.5rem;
            }

            .paginationjs .paginationjs-pages li > a {
                min-width: 40px;
                height: 40px;
                padding: 0 1rem;
                font-size: 0.85rem;
            }

            .paginationjs .paginationjs-pages li.active > a {
                min-width: 44px;
                height: 44px;
            }

            .paginationjs .paginationjs-prev > a,
            .paginationjs .paginationjs-next > a {
                padding: 0 1.25rem;
            }
        }

        /* Floating WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            background-color: #20ba5a;
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
            color: #FFF;
        }

        .whatsapp-float i {
            margin-top: 0px;
        }

        @keyframes whatsapp-pulse {
            0% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }
            50% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.2);
            }
            100% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }
        }

        .whatsapp-float {
            animation: whatsapp-pulse 2s infinite;
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 26px;
            }

            h1 {
                font-size: 2.5rem;
            }

            h2 {
                font-size: 1.2rem;
            }

            .hero-section {
                padding: 40px 0;
            }

            .hero-image-container {
                margin-top: 3rem;
                padding: 1rem;
            }

            .hero-image {
                max-width: 300px;
            }

            .ecg-bg {
                width: 100%;
                opacity: 0.15;
            }

            .ecg-line {
                width: 200%;
                left: -100%;
            }

            .tech-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .tech-card-inner {
                padding: 2rem 1.5rem;
            }

            .tech-icon {
                width: 50px;
                height: 50px;
            }

            .tech-icon i {
                font-size: 1.5rem;
            }

            .project-section {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .project-card h3 {
                font-size: 1.35rem;
            }

            .project-card .subtitle-small {
                font-size: 0.9rem;
            }

            .project-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.75rem;
                padding: 0 1.75rem 1.25rem 1.75rem;
            }

            .stat-item {
                padding: 0.75rem 0.65rem;
            }

            .stat-value {
                font-size: 1.2rem;
            }

            .stat-label {
                font-size: 0.68rem;
            }

            .project-diagram {
                flex-direction: column;
                gap: 1rem;
                padding: 1.5rem;
                min-height: 140px;
            }

            .diagram-box {
                padding: 0.85rem 1rem;
            }

            .diagram-arrow {
                transform: rotate(90deg);
            }

            .diagram-box {
                width: 100%;
            }

            .btn-custom {
                display: inline-block;
                margin-right: 0.5rem;
                margin-bottom: 1rem;
                padding: 10px 20px;
                font-size: 0.9rem;
                text-align: center;
            }

            .hero-section .mt-4 {
                display: flex;
                flex-wrap: wrap;
                gap: 0.75rem;
            }

            .hero-section .btn-custom {
                margin-right: 0;
                flex: 1 1 calc(50% - 0.375rem);
                min-width: 140px;
            }

            .project-footer {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .tech-specs {
                width: 100%;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 576px) {
            .hero-section .btn-custom {
                flex: 1 1 100%;
                min-width: 100%;
                margin-bottom: 0.75rem;
                padding: 12px 24px;
            }

            .hero-section .mt-4 {
                gap: 0.75rem;
                margin-top: 1.5rem !important;
            }

            .project-section {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .project-card {
                border-radius: 12px;
            }

            .project-header {
                padding: 1.25rem 1.25rem 0.75rem 1.25rem;
            }

            .project-badge {
                font-size: 0.6rem;
                padding: 0.3rem 0.7rem;
                margin-bottom: 0.75rem;
            }

            .project-card h3 {
                font-size: 1.2rem;
                margin-bottom: 0.4rem;
            }

            .project-card .subtitle-small {
                font-size: 0.85rem;
                margin-bottom: 0.75rem;
                line-height: 1.5;
            }

            .project-stats {
                padding: 0 1.25rem 0.75rem 1.25rem;
                grid-template-columns: repeat(3, 1fr);
                gap: 0.5rem;
            }

            .stat-item {
                padding: 0.6rem 0.5rem;
            }

            .stat-value {
                font-size: 1rem;
                margin-bottom: 0.15rem;
            }

            .stat-label {
                font-size: 0.65rem;
            }

            .project-diagram {
                padding: 1.25rem 1rem;
                min-height: 120px;
                gap: 0.75rem;
            }

            .diagram-box {
                padding: 0.75rem 0.85rem;
                font-size: 0.75rem;
            }

            .diagram-box i {
                font-size: 1rem !important;
                margin-bottom: 0.35rem !important;
            }

            .diagram-box > div {
                font-size: 0.75rem !important;
            }

            .diagram-box > div:last-child {
                font-size: 0.65rem !important;
                margin-top: 0.15rem !important;
            }

            .diagram-arrow {
                font-size: 1.2rem;
            }

            .project-footer {
                padding: 0.75rem 1.25rem 1.25rem 1.25rem;
                gap: 0.75rem;
            }

            .tech-specs {
                gap: 0.4rem;
            }

            .tech-chip {
                font-size: 0.6rem;
                padding: 0.3rem 0.6rem;
            }

            .btn-small {
                font-size: 0.8rem;
                padding: 0.5rem 1rem;
            }

            /* Section headers mobile optimization */
            h1 {
                font-size: 2.2rem;
            }

            .hero-section {
                padding: 30px 0;
            }

            .description {
                font-size: 0.95rem;
                line-height: 1.7;
                margin-bottom: 1.5rem;
            }
        }

        /* Extra small devices (iPhone SE, small phones) */
        @media (max-width: 375px) {
            .project-card h3 {
                font-size: 1.1rem;
            }

            .project-card .subtitle-small {
                font-size: 0.8rem;
            }

            .project-header {
                padding: 1rem 1rem 0.5rem 1rem;
            }

            .project-stats {
                padding: 0 1rem 0.5rem 1rem;
                gap: 0.4rem;
            }

            .stat-item {
                padding: 0.5rem 0.4rem;
            }

            .stat-value {
                font-size: 0.9rem;
            }

            .stat-label {
                font-size: 0.6rem;
            }

            .project-diagram {
                padding: 1rem 0.75rem;
                min-height: 100px;
                gap: 0.5rem;
            }

            .diagram-box {
                padding: 0.6rem 0.7rem;
            }

            .diagram-box i {
                font-size: 0.9rem !important;
            }

            .project-footer {
                padding: 0.5rem 1rem 1rem 1rem;
            }

            .tech-chip {
                font-size: 0.55rem;
                padding: 0.25rem 0.5rem;
            }
        }

        /* Animations */
        @keyframes ecgSlide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(33.33%);
            }
        }

        @keyframes ecgPulse {
            0%, 100% {
                opacity: 0.6;
            }
            50% {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        /* Tech card animations now handled by AOS */

        .tech-card:hover .tech-icon {
            animation: float 2s ease-in-out infinite;
        }
  