
    @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=Dancing+Script:wght@400;500;700&display=swap');

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --primary: #00f0ff;
        --secondary: #ff006e;
        --accent: #8338ec;
        --dark: #0a0e27;
        --darker: #050814;
        --light: #e8f1f5;
    }

    /* Make the entire page use Dancing Script as requested */
    html, body, * {
        font-family: 'Dancing Script', cursive !important;
    }

    /* Ensure Font Awesome icon fonts are not overridden by the global font rule */
    .fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-light, .fa-brands {
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        speak: none;
    }

    .fa-brands, .fab {
        font-family: "Font Awesome 6 Brands" !important;
        font-weight: 400 !important;
    }

    /* Slightly increase base font-size for improved readability */
    html { font-size: 18px; }

    body {
        /* entire site set to Dancing Script via the universal rule above */
        background: var(--darker);
        color: var(--light);
        overflow-x: hidden;
    }

    /* Custom Cursor */
    .cursor {
        width: 20px;
        height: 20px;
        border: 2px solid var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transition: all 0.1s ease;
        mix-blend-mode: difference;
    }

    .cursor-follower {
        width: 40px;
        height: 40px;
        border: 1px solid var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: all 0.3s ease;
        opacity: 0.5;
    }

    /* Animated Background */
    .bg-animation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }

    .bg-animation::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 20% 50%, rgba(131, 56, 236, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 40% 20%, rgba(255, 0, 110, 0.15) 0%, transparent 50%);
        animation: bgMove 20s ease infinite;
    }

    .floating-shapes {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        pointer-events: none;
    }

    .shape {
        position: absolute;
        opacity: 0.1;
        animation: float 20s infinite ease-in-out;
    }

    .shape:nth-child(1) {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 50%;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .shape:nth-child(2) {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, var(--secondary), var(--primary));
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        top: 60%;
        right: 15%;
        animation-delay: 2s;
    }

    .shape:nth-child(3) {
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, var(--accent), var(--secondary));
        border-radius: 50%;
        bottom: 20%;
        left: 20%;
        animation-delay: 4s;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(30px, -30px) rotate(90deg); }
        50% { transform: translate(-20px, 20px) rotate(180deg); }
        75% { transform: translate(40px, 10px) rotate(270deg); }
    }

    @keyframes bgMove {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        33% { transform: translate(-5%, 5%) rotate(120deg); }
        66% { transform: translate(5%, -5%) rotate(240deg); }
    }

    /* Particle Effect */
    .particles {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        background: var(--primary);
        border-radius: 50%;
        opacity: 0.3;
        animation: particleFloat 15s infinite ease-in-out;
    }

    @keyframes particleFloat {
        0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
        10% { opacity: 0.3; }
        90% { opacity: 0.3; }
        100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
    }

    /* Navigation */
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 1.2rem 5%; /* reduced from 1.5rem */
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        backdrop-filter: blur(20px);
        background: rgba(10, 14, 39, 0.7);
        border-bottom: 1px solid rgba(0, 240, 255, 0.1);
        transition: all 0.3s;
    }

    nav.scrolled {
        padding: 0.8rem 5%; /* reduced from 1rem */
        background: rgba(10, 14, 39, 0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .logo {
        font-family: 'Dancing Script', 'Space Grotesk', cursive;
        font-size: 2.4rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
        animation: logoGlow 3s ease-in-out infinite;
    }

    @keyframes logoGlow {
        0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)); }
        50% { filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.5)); }
    }

    .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;
    }

    .nav-links a {
        color: var(--light);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        position: relative;
        transition: color 0.3s;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: width 0.3s;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .menu-toggle {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5%;
        position: relative;
        overflow: hidden;
    }

    .hero-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5rem;
        max-width: 1400px;
        width: 100%;
    }

    .hero-content {
        flex: 1;
        max-width: 600px;
        z-index: 2;
    }

    .hero-image-container {
        flex: 1;
        max-width: 500px;
        position: relative;
        z-index: 2;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 1;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid transparent;
        background: linear-gradient(var(--darker), var(--darker)) padding-box,
                    linear-gradient(135deg, var(--primary), var(--secondary), var(--accent)) border-box;
        animation: heroImageFloat 6s ease-in-out infinite;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
                    0 0 60px rgba(0, 240, 255, 0.3);
    }

    @keyframes heroImageFloat {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
                        0 0 60px rgba(0, 240, 255, 0.3);
        }
        50% {
            transform: translateY(-20px) rotate(2deg);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                        0 0 80px rgba(255, 0, 110, 0.4);
        }
    }

    .hero-image-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 110%;
        height: 110%;
        border-radius: 50%;
        border: 2px solid rgba(0, 240, 255, 0.3);
        animation: ringPulse 4s ease-in-out infinite;
    }

    .hero-image-ring:nth-child(2) {
        width: 120%;
        height: 120%;
        animation-delay: 1s;
        border-color: rgba(255, 0, 110, 0.2);
    }

    .hero-image-ring:nth-child(3) {
        width: 130%;
        height: 130%;
        animation-delay: 2s;
        border-color: rgba(131, 56, 236, 0.2);
    }

    @keyframes ringPulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.5;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.1);
            opacity: 0.2;
        }
    }

    .floating-icons {
        position: absolute;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .floating-icon {
        position: absolute;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid rgba(0, 240, 255, 0.3);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        animation: floatIcon 6s ease-in-out infinite;
    }

    .floating-icon i {
        font-size: 1.5rem;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .floating-icon:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-icon:nth-child(2) {
        top: 20%;
        right: 15%;
        animation-delay: 1s;
    }

    .floating-icon:nth-child(3) {
        bottom: 25%;
        left: 5%;
        animation-delay: 2s;
    }

    .floating-icon:nth-child(4) {
        bottom: 15%;
        right: 10%;
        animation-delay: 3s;
    }

    @keyframes floatIcon {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }
        25% {
            transform: translateY(-15px) rotate(5deg);
        }
        75% {
            transform: translateY(15px) rotate(-5deg);
        }
    }

    .hero-label {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid rgba(0, 240, 255, 0.3);
        border-radius: 50px;
        font-size: 0.85rem;
        margin-bottom: 2rem;
        animation: fadeInUp 0.6s ease, pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .hero h1 {
        font-family: 'Dancing Script', 'Space Grotesk', cursive;
        font-size: clamp(2.4rem, 8vw, 5.2rem);
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        animation: fadeInUp 0.8s ease;
    }

    .gradient-text {
        background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientShift 5s ease infinite;
    }

    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    .hero p {
        font-size: 1.2rem;
        color: rgba(232, 241, 245, 0.7);
        margin-bottom: 3rem;
        line-height: 1.6;
        animation: fadeInUp 1s ease;
    }

    .cta-buttons {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        animation: fadeInUp 1.2s ease;
    }

    .btn-primary, .btn-secondary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: var(--dark);
        border: none;
        box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
    }

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--secondary), var(--accent));
        transition: left 0.3s;
        z-index: -1;
    }

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

    .btn-primary:hover::before {
        left: 0;
    }

    .btn-secondary {
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary);
    }

    .btn-secondary:hover {
        background: var(--primary);
        color: var(--dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
    }

    .social-links {
        position: fixed;
        left: 3%;
        bottom: 5%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        z-index: 100;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 240, 255, 0.3);
        border-radius: 50%;
        color: var(--primary);
        font-size: 1.2rem;
        transition: all 0.3s;
        backdrop-filter: blur(10px);
        background: rgba(10, 14, 39, 0.5);
        animation: socialFloat 3s ease-in-out infinite;
    }

    .social-links a:nth-child(1) { animation-delay: 0s; }
    .social-links a:nth-child(2) { animation-delay: 0.5s; }
    .social-links a:nth-child(3) { animation-delay: 1s; }

    @keyframes socialFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .social-links a:hover {
        background: var(--primary);
        color: var(--dark);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 240, 255, 0.4);
    }

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

    .scroll-indicator span {
        font-size: 0.8rem;
        color: rgba(232, 241, 245, 0.6);
    }

    .scroll-indicator i {
        color: var(--primary);
        font-size: 1.5rem;
    }

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

    /* About Section */
    .about {
        padding: 8rem 5%;
        position: relative;
    }

    .section-header {
        text-align: center;
        margin-bottom: 5rem;
    }

    .section-label {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        background: rgba(131, 56, 236, 0.1);
        border: 1px solid rgba(131, 56, 236, 0.3);
        border-radius: 50px;
        font-size: 0.85rem;
        margin-bottom: 1rem;
        color: var(--accent);
        animation: fadeIn 0.8s ease;
    }

    .section-title {
        font-family: 'Space Grotesk', sans-serif;
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
        animation: fadeIn 1s ease;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
        align-items: center;
    }

    .about-image {
        position: relative;
        animation: fadeInLeft 1s ease;
    }

    .about-image img {
        width: 100%;
        border-radius: 30px;
        filter: grayscale(0.3);
        transition: all 0.5s;
    }

    .about-image::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        width: 100%;
        height: 100%;
        border: 2px solid var(--primary);
        border-radius: 30px;
        z-index: -1;
        transition: all 0.3s;
        animation: borderPulse 3s ease-in-out infinite;
    }

    @keyframes borderPulse {
        0%, 100% { border-color: var(--primary); }
        50% { border-color: var(--secondary); }
    }

    .about-image:hover img {
        filter: grayscale(0);
        transform: translate(-10px, -10px);
    }

    .about-image:hover::before {
        transform: translate(10px, 10px);
    }

    .about-text {
        animation: fadeInRight 1s ease;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: rgba(232, 241, 245, 0.8);
        margin-bottom: 2rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }

    .stat-card {
        text-align: center;
        padding: 1.5rem;
        background: rgba(0, 240, 255, 0.05);
        border: 1px solid rgba(0, 240, 255, 0.2);
        border-radius: 20px;
        transition: all 0.3s;
        animation: fadeInUp 1s ease;
    }

    .stat-card:nth-child(1) { animation-delay: 0.2s; }
    .stat-card:nth-child(2) { animation-delay: 0.4s; }
    .stat-card:nth-child(3) { animation-delay: 0.6s; }

    .stat-card:hover {
        transform: translateY(-10px) scale(1.05);
        background: rgba(0, 240, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: numberCount 2s ease;
    }

    @keyframes numberCount {
        from { opacity: 0; transform: scale(0.5); }
        to { opacity: 1; transform: scale(1); }
    }

    .stat-label {
        font-size: 0.9rem;
        color: rgba(232, 241, 245, 0.6);
        margin-top: 0.5rem;
    }

    /* Tech Stack */
    .tech-stack {
        padding: 8rem 5%;
        background: rgba(10, 14, 39, 0.5);
    }

    .tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .tech-item {
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(0.4rem, 1.2vw, 1rem);
        padding: clamp(0.4rem, 1.2vw, 1rem);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        animation: fadeInScale 0.8s ease;
        min-width: 0;
    }

    .tech-item:nth-child(1) { animation-delay: 0.1s; }
    .tech-item:nth-child(2) { animation-delay: 0.2s; }
    .tech-item:nth-child(3) { animation-delay: 0.3s; }
    .tech-item:nth-child(4) { animation-delay: 0.4s; }
    .tech-item:nth-child(5) { animation-delay: 0.5s; }
    .tech-item:nth-child(6) { animation-delay: 0.6s; }
    .tech-item:nth-child(7) { animation-delay: 0.7s; }
    .tech-item:nth-child(8) { animation-delay: 0.8s; }

    @keyframes fadeInScale {
        from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
        to { opacity: 1; transform: scale(1) rotate(0deg); }
    }

    .tech-item:hover {
        transform: translateY(-15px) scale(1.1) rotate(5deg);
        background: rgba(0, 240, 255, 0.1);
        border-color: var(--primary);
        box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
    }

    .tech-item i {
        /* responsive icon size */
        font-size: clamp(1.2rem, 4vw, 3rem);
        line-height: 1;
        display: inline-block;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: iconFloat 3s ease-in-out infinite;
    }

    @keyframes iconFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }

    .tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); /* reduced from 100px */
        gap: 1rem; /* smaller gap */
        max-width: 1000px;
        margin: 0 auto;
    }

    .tech-item {
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(0.3rem, 1vw, 0.6rem); /* reduced spacing */
        padding: clamp(0.3rem, 1vw, 0.6rem);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        animation: fadeInScale 0.8s ease;
        min-width: 0;
    }

    .tech-item i {
        font-size: clamp(1rem, 3.5vw, 2rem); /* smaller responsive icon size */
        line-height: 1;
        display: inline-block;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: iconFloat 3s ease-in-out infinite;
    }


    /* Projects */
    .projects {
        padding: 8rem 5%;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

    .project-card {
        background: rgba(10, 14, 39, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        overflow: hidden;
        transition: all 0.4s;
        position: relative;
        animation: fadeInUp 0.8s ease;
    }

    .project-card:nth-child(1) { animation-delay: 0.1s; }
    .project-card:nth-child(2) { animation-delay: 0.2s; }
    .project-card:nth-child(3) { animation-delay: 0.3s; }
    .project-card:nth-child(4) { animation-delay: 0.4s; }
    .project-card:nth-child(5) { animation-delay: 0.5s; }

    .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(131, 56, 236, 0.1));
        opacity: 0;
        transition: opacity 0.3s;
    }

    .project-card:hover::before {
        opacity: 1;
    }

    .project-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        border-color: var(--primary);
    }

    .project-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .project-card:hover .project-image {
        transform: scale(1.1);
    }

    .project-content {
        padding: 2rem;
        position: relative;
        z-index: 1;
    }

    .project-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .project-subtitle {
        font-size: 0.9rem;
        color: rgba(232, 241, 245, 0.6);
        margin-bottom: 1rem;
    }

    .project-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(232, 241, 245, 0.7);
        margin-bottom: 1.5rem;
    }

    .project-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
    }

    .project-link:hover {
        background: var(--primary);
        color: var(--dark);
        transform: translateX(5px);
        box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
    }

    .view-more-container {
        text-align: center;
        margin-top: 4rem;
    }

    .btn-view-more {
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        padding: 1.2rem 3rem;
        background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(131, 56, 236, 0.1));
        border: 2px solid var(--primary);
        color: var(--primary);
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.4s;
        position: relative;
        overflow: hidden;
    }

    .btn-view-more::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        transition: left 0.4s;
        z-index: -1;
    }

    .btn-view-more:hover {
        color: var(--dark);
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 240, 255, 0.4);
    }

    .btn-view-more:hover::before {
        left: 0;
    }

    /* Coding Platforms */
    .coding-platforms {
        padding: 8rem 5%;
        background: rgba(10, 14, 39, 0.5);
    }

    .platforms-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .platform-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        transition: all 0.4s;
        backdrop-filter: blur(10px);
        animation: fadeInUp 0.8s ease;
    }

    .platform-card:nth-child(1) { animation-delay: 0.1s; }
    .platform-card:nth-child(2) { animation-delay: 0.2s; }
    .platform-card:nth-child(3) { animation-delay: 0.3s; }
    .platform-card:nth-child(4) { animation-delay: 0.4s; }
    .platform-card:nth-child(5) { animation-delay: 0.5s; }

    .platform-card:hover {
        transform: translateY(-10px) scale(1.03);
        background: rgba(0, 240, 255, 0.05);
        border-color: var(--primary);
        box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
    }

    .platform-logo {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        border-radius: 15px;
        object-fit: contain;
        filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
        transition: transform 0.3s;
    }

    .platform-card:hover .platform-logo {
        transform: scale(1.1) rotate(5deg);
    }

    .platform-name {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .platform-count {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1.5rem;
    }

    .platform-link {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
    }

    .platform-link:hover {
        background: var(--primary);
        color: var(--dark);
        box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
    }

    .platforms-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* reduced from 250px to 180px */
gap: 1.5rem; /* slightly smaller gap */
}

.platform-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 1.5rem; /* reduced from 2rem */
text-align: center;
transition: all 0.4s;
backdrop-filter: blur(10px);
animation: fadeInUp 0.8s ease;
}

.platform-logo {
    width: 60px; /* reduced from 80px */
    height: 60px; /* reduced from 80px */
    margin-bottom: 1rem; /* slightly less spacing */
}

.platform-name {
    font-size: 1.1rem; /* smaller font */
}

.platform-count {
    font-size: 2.2rem; /* smaller to fit the card */
    margin-bottom: 1rem;
}

.platform-link {
    padding: 0.5rem 1rem; /* smaller button */
    font-size: 0.9rem;
}


    /* Contact Section */
    .contact {
        padding: 8rem 5%;
        text-align: center;
    }

    .contact-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-text {
        font-size: 1.2rem;
        color: rgba(232, 241, 245, 0.7);
        margin-bottom: 3rem;
        line-height: 1.8;
    }

    /* Footer */
    footer {
        padding: 3rem 5%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 14, 39, 0.8);
    }

    footer p {
        color: rgba(232, 241, 245, 0.5);
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .footer-heart {
        color: var(--secondary);
        animation: heartbeat 1.5s ease-in-out infinite;
    }

    @keyframes heartbeat {
        0%, 100% { transform: scale(1); }
        25% { transform: scale(1.2); }
        50% { transform: scale(1); }
    }

    /* All Projects Page */
    .all-projects-page {
        display: none;
        min-height: 100vh;
        padding: 120px 5% 5rem;
    }

    .all-projects-page.active {
        display: block;
    }

    .back-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 3rem;
        padding: 0.75rem 1.5rem;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
    }

    .back-button:hover {
        background: var(--primary);
        color: var(--dark);
        transform: translateX(-5px);
    }

    .projects-filter {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 4rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.75rem 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--light);
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 500;
    }

    .filter-btn:hover, .filter-btn.active {
        background: var(--primary);
        color: var(--dark);
        border-color: var(--primary);
    }

    .all-projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .nav-links {
            position: fixed;
            top: 80px;
            right: -100%;
            width: 100%;
            height: calc(100vh - 80px);
            background: rgba(10, 14, 39, 0.98);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: right 0.3s;
            backdrop-filter: blur(20px);
        }

        .nav-links.active {
            right: 0;
        }

        .menu-toggle {
            display: block;
        }

        .hero-wrapper {
            flex-direction: column-reverse;
            gap: 2rem;
            text-align: center;
        }

        .hero-content {
            max-width: 100%;
        }

        .hero-image-container {
            max-width: 300px;
        }

        .floating-icons {
            display: none;
        }

        .about-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

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

        .social-links {
            position: static;
            flex-direction: row;
            justify-content: center;
            margin: 2rem 0;
        }

        .cursor, .cursor-follower {
            display: none;
        }

        .scroll-indicator {
            display: none;
        }

        .projects-grid,
        .all-projects-grid {
            grid-template-columns: 1fr;
        }

        .tech-grid {
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 1rem;
        }
    }
