/* portfolio style */

        :root {
            --primary: #464646;
            --secondary: #000000;
            --accent: #636363;
            --text: #535353;
            --text-light: #666;
            --bg: #c1bfbf;
        }

        body {
            font-family: 'Ubuntu', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Header */
        header {
            padding: 1rem 0;
            border-bottom: 2px solid var(--primary);
            position: relative;
            background: var(--bg);
            position:sticky;
            top:0;
            z-index:1000;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
          
        }

        .logo {
            font-family: 'Ubuntu', monospace;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
            letter-spacing: -0.02em;
            box-shadow: #000000 0 4px 12px rgba(0, 0, 0, 0.9);
            border-radius: 6px;
            padding: 0.5rem 1rem;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            box-shadow: #000000 0 4px 12px rgba(0, 0, 0, 0.9);
            border-radius: 6px;
            padding: 0.5rem 1rem;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position:sticky;
            
        }

        .nav-links a:hover {
            color: var(--accent);
            box-shadow: #000000 0 4px 12px rgba(0, 0, 0, 0.9);
         
        }

        /* pdp+content  */
        .hero {
            padding: 6rem 0 4rem;
            position: relative;
        }

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

        .profile-photo {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.9);
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out 0.1s backwards;
            transition: transform 0.3s ease;
        }

        .profile-photo:hover {
            transform: scale(1.05);
        }

        .profile-photo-placeholder {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            border: 4px solid var(--primary);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out 0.1s backwards;
            transition: transform 0.3s ease;
        }
        .btn-cv {
            display: inline-block;
            padding: 12px 20px;
            background-color: #222;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            border-radius: 6px;
            transition: background-color 0.3s ease;
            }

            .btn-cv:hover {
            background-color: #444;
            }


        .hero-text h1 {
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 1rem;
            font-weight: 700;
            color: var(--primary);
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-text h1 span {
            color: var(--accent);
        }

        .hero-text p {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--primary);
            color: #a2a1a1;
            font-size: 1.1rem;
            text-decoration: none;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            animation: fadeInUp 0.8s ease-out 0.4s backwards;
            box-shadow: 0 4px 12px rgba(8, 8, 8, 0.9);
        }

        .cta-button:hover {
            background: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px #000000;
        }

        .hero-visual {
            position: relative;
            animation: fadeInRight 1s ease-out;
        }

        .code-block {
            background: var(--primary);
            color: var(--secondary);
            padding: 2rem;
            border-radius: 12px;
            font-family: 'Ubuntu', sans-serif;
            font-size: 0.9rem;
            line-height: 1.8;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

        .code-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 30px;
            background: rgba(244, 232, 216, 0.1);
            border-bottom: 1px solid rgba(244, 232, 216, 0.2);
        }

        .code-block::after {
            content: '● ● ●';
            position: absolute;
            top: 8px;
            left: 15px;
            color: var(--secondary);
            font-size: 0.7rem;
            letter-spacing: 5px;
        }

        .code-line {
            padding-top: 2rem;
        }

        .keyword { color: #b8b8b8; }
        .string { color: #1a1919; }
        .comment { color: #999; font-style: 'Ubuntu'; }

        /* Comps */
        .competences {
            padding: 4rem 0;
            background: var(--secondary);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--primary);
            font-weight: 700;
        }

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

        .skill-card {
            background: rgb(149, 149, 149);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: #ffffff 0 8px 20px rgba(255, 255, 255, 0.9);
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            animation: fadeInUp 0.6s ease-out backwards;
        }

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

     

        .skill-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent);
            box-shadow: 0 12px 30px rgba(255, 255, 255, 0.9);
        }

        .skill-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }

        .skill-name {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .skill-level {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* A Prpos */
        .about {
            padding: 4rem 0;
        }

        .about-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .about-content p {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 4rem;
            margin-top: 3rem;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent);
            display: block;
        }

        .stat-label {
            color: var(--text-light);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: var(--secondary);
            padding: 1rem 0;
            margin-top: 1rem;
            border-radius: 20px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-left: 480px;
        }


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

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

        /* Responsive */

        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .nav-links {
                gap: 1rem;
            }

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

            .stats {
                flex-direction: column;
                gap: 2rem;
            }

            .footer-content {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }
        }
