:root {
            --primary: #0a192f;
            --secondary: #112240;
            --accent: #64ffda;
            --accent-alt: #ff4d5a;
            --text: #ccd6f6;
            --text-light: #a8b2d1;
            --glass: rgba(17, 34, 64, 0.85);
            --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        }

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

        body {
            font-family: 'Manrope', sans-serif;
            background-color: var(--primary);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(100, 255, 218, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(255, 77, 90, 0.05) 0%, transparent 20%);
        }

        /* Floating squares animation for entire page  */
        .floating-squares {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }
        
        .floating-square {
            position: absolute;
            width: 60px;
            height: 60px;
            border-radius: 12px;
            background: var(--accent);
            opacity: 0.1;
            animation: float 15s infinite ease-in-out;
        }
        
        .floating-square.alt {
            background: var(--accent-alt);
            opacity: 0.1;
        }
        
        @keyframes float {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg);
            }
            25% { 
                transform: translate(20vw, 15vh) rotate(90deg);
            }
            50% { 
                transform: translate(40vw, 25vh) rotate(180deg);
            }
            75% { 
                transform: translate(10vw, 35vh) rotate(270deg);
            }
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -0.03em;
        }

        .section {
            padding: 100px 0;
            position: relative;
        }

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

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .loader {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .loader div {
            width: 24px;
            height: 24px;
            background: var(--accent);
            border-radius: 50%;
            display: inline-block;
            animation: bounce 1.4s infinite ease-in-out both;
        }

        .loader div:nth-child(1) {
            animation-delay: -0.32s;
        }

        .loader div:nth-child(2) {
            animation-delay: -0.16s;
            margin: 0 15px;
        }

        @keyframes bounce {
            0%, 80%, 100% { transform: scale(0); }
            40% { transform: scale(1.0); }
        }

        /* Navigation */
        #navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: var(--glass);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(100, 255, 218, 0.1);
            transition: var(--transition);
            padding: 15px 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo-image {
            width: 100px;
            height: 45px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: var(--primary);
            font-size: 20px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-link {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            position: relative;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--accent);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: var(--transition);
        }

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

        .cta-button {
            background: linear-gradient(135deg, var(--accent), var(--accent-alt));
            color: var(--primary);
            border: none;
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            font-size: 24px;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

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

        .hero-text h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            line-height: 1.1;
        }

        .hero-text h1 span {
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: block;
            font-size: 5rem;
        }

        .hero-text p {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 500px;
        }

        .hero-stats {
            display: flex;
            gap: 30px;
            margin-top: 40px;
        }

        .stat-box {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 5px;
        }

        .stat-text {
            font-size: 16px;
            color: var(--text-light);
        }

        .hero-image {
            position: relative;
            perspective: 1000px;
        }

        .image-frame {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            transform: rotate3d(1, 1, 0, 15deg);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transition: var(--transition);
            border: 3px solid rgba(100, 255, 218, 0.2);
        }

        .image-frame:hover {
            transform: rotate3d(1, 1, 0, 5deg);
        }

        .image-frame img {
            width: 100%;
            height: auto;
            display: block;
        }

        .floating-element {
            position: absolute;
            width: 80px;
            height: 80px;
            background: var(--accent);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: float 6s ease-in-out infinite;
            color: var(--primary);
            font-size: 24px;
            font-weight: bold;
        }

        .floating-element:nth-child(1) {
            top: -30px;
            left: -30px;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            bottom: -30px;
            right: -30px;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .about-text h2 span {
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .about-text p {
            color: var(--text-light);
            margin-bottom: 30px;
            font-size: 18px;
        }

        .feature-list {
            display: grid;
            gap: 20px;
            margin: 30px 0;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--secondary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--accent);
            font-size: 20px;
        }

        .feature-content h3 {
            font-size: 20px;
            margin-bottom: 8px;
        }

        .feature-content p {
            color: var(--text-light);
            margin: 0;
            font-size: 16px;
        }

        /* Skills Section */
        .skills-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .skills-header h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .skills-header h2 span {
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .skill-card {
            background: var(--secondary);
            border-radius: 20px;
            padding: 40px 30px;
            transition: var(--transition);
            border: 1px solid rgba(100, 255, 218, 0.1);
            position: relative;
            overflow: hidden;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(100, 255, 218, 0.3);
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--transition);
        }

        .skill-card:hover::before {
            transform: scaleX(1);
        }

        .skill-icon {
            width: 70px;
            height: 70px;
            background: rgba(100, 255, 218, 0.1);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: var(--accent);
            font-size: 28px;
        }

        .skill-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .skill-card p {
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .skill-features {
            list-style: none;
        }

        .skill-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            color: var(--text-light);
        }

        .skill-features li::before {
            content: '✓';
            color: var(--accent);
            font-weight: bold;
        }

        /* Projects Section */
        .projects-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .projects-header h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .projects-header h2 span {
            background: linear-gradient(to right, var(--accent), var(--accent-alt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .project-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            height: 300px;
            transition: var(--transition);
        }

        .project-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .project-item:hover .project-image {
            transform: scale(1.05);
        }

        .project-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
            transform: translateY(50px);
            transition: var(--transition);
            opacity: 0;
        }

        .project-item:hover .project-overlay {
            transform: translateY(0);
            opacity: 1;
        }

        .project-overlay h3 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .project-overlay p {
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .project-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .contact-info p {
            color: var(--text-light);
            margin-bottom: 40px;
            font-size: 18px;
        }

        .contact-methods {
            display: grid;
            gap: 25px;
            margin-bottom: 40px;
        }

        .contact-method {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: var(--secondary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 24px;
        }

        .contact-details h3 {
            font-size: 20px;
            margin-bottom: 5px;
        }

        .contact-details p {
            margin: 0;
            color: var(--text-light);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            background: var(--secondary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            font-size: 20px;
            transition: var(--transition);
            text-decoration: none;
        }

        .social-link:hover {
            background: var(--accent);
            color: var(--primary);
            transform: translateY(-5px);
        }

        .contact-form form {
            display: grid;
            gap: 20px;
        }

        .form-group {
            display: grid;
            gap: 8px;
        }

        .form-group label {
            font-weight: 600;
            font-size: 16px;
        }

        .form-control {
            width: 100%;
            padding: 16px 20px;
            background: var(--secondary);
            border: 1px solid rgba(100, 255, 218, 0.1);
            border-radius: 12px;
            color: var(--text);
            font-size: 16px;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer */
        .footer {
            background: var(--secondary);
            padding: 60px 0 30px;
            text-align: center;
        }

        .footer-content {
            margin-bottom: 50px;
        }

        .footer-logo {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
            margin-bottom: 40px;
        }

        .footer-logo p {
            color: var(--text-light);
            max-width: 500px;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(100, 255, 218, 0.1);
            color: var(--text-light);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .hero-text {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            .hero-stats {
                justify-content: center;
            }
            
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .contact-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero-text h1 {
                font-size: 2.8rem;
            }
            
            .hero-text h1 span {
                font-size: 3.5rem;
            }
        }

        @media (max-width: 480px) {
            .hero-text h1 {
                font-size: 2.2rem;
            }
            
            .hero-text h1 span {
                font-size: 2.8rem;
            }
            
            .hero-stats {
                flex-direction: column;
                gap: 20px;
            }
            
            .skill-card, .project-item {
                width: 100%;
            }
            
            /* Reduce floating squares on mobile */
            .floating-square {
                width: 40px;
                height: 40px;
            }
        }