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

        :root {
            --primary: #000000;
            --secondary: #1f2937;
            --accent: #60a5fa;
            --dark: #000000;
            --light: #ffffff;
            --bg-main: #ffffff;
            --bg-secondary: #f9fafb;
            --blue-500: #3b82f6;
            --blue-600: #2563eb;
            --blue-700: #1d4ed8;
            --blue-400: #60a5fa;
            --gray: #6b7280;
            --gray-light: #e5e7eb;
            --gray-dark: #374151;
            --border: #e5e7eb;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.7;
            color: var(--primary);
            background: var(--bg-main);
            overflow-x: hidden;
        }

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

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

        .shape-1 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            bottom: 10%;
            right: 10%;
            animation-delay: -5s;
        }

        .shape-3 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
            top: 50%;
            left: 50%;
            animation-delay: -10s;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            33% {
                transform: translate(30px, -30px) rotate(120deg);
            }
            66% {
                transform: translate(-20px, 20px) rotate(240deg);
            }
        }

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

        /* Navigation */
        nav {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border-bottom: 1px solid var(--border);
        }

        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
        }

        nav .logo {
            position: relative;
            display: inline-block;
        }

        nav .logo-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        nav .logo:hover .logo-img {
            border-color: rgba(255, 255, 255, 0.5);
            transform: scale(1.05);
        }

        nav .availability-indicator {
            position: absolute;
            top: 0;
            right: -2px;
            width: 12px;
            height: 12px;
            background-color: #00ff00;
            border-radius: 50%;
            border: 2px solid rgba(0, 0, 0, 0.9);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
            }
            70% {
                box-shadow: 0 0 0 8px rgba(0, 255, 0, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
            }
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 3rem;
        }

        nav a {
            text-decoration: none;
            color: var(--gray-dark);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            letter-spacing: 0.3px;
        }

        nav a.active {
            color: var(--blue-600);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--blue-500);
            transition: width 0.3s ease;
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            background: transparent;
            color: white;
            padding: 200px 0 150px;
            margin-top: 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            animation: slideDown 0.8s ease;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.8);
        }

        .hero h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 6rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -3px;
            animation: slideUp 0.8s ease 0.2s both;
            color: var(--dark);
        }

        .hero .tagline {
            font-size: 1.4rem;
            margin-bottom: 3rem;
            font-weight: 400;
            line-height: 1.6;
            animation: slideUp 0.8s ease 0.4s both;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            color: var(--gray-dark);
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
            margin-top: 5rem;
            animation: slideUp 0.8s ease 0.6s both;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .stat {
            background: var(--bg-secondary);
            backdrop-filter: blur(10px);
            padding: 2.5rem;
            border-radius: 12px;
            border: 2px solid var(--border);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .stat::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--blue-500);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .stat:hover::before {
            transform: scaleX(1);
        }

        .stat:hover {
            background: white;
            border-color: var(--blue-500);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
        }

        .stat-number {
            font-size: 4rem;
            font-weight: 800;
            display: block;
            font-family: 'Space Grotesk', sans-serif;
            margin-bottom: 0.5rem;
            color: var(--blue-600);
        }

        .stat-label {
            font-size: 0.95rem;
            font-weight: 400;
            letter-spacing: 1px;
            color: var(--gray);
            text-transform: uppercase;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 3rem;
            animation: slideUp 0.8s ease 0.8s both;
        }

        .btn {
            padding: 1.2rem 3rem;
            border-radius: 0;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: inline-block;
            letter-spacing: 1px;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: var(--blue-500);
            color: white;
        }

        .btn-primary:hover {
            background: var(--blue-600);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--blue-400);
            border: 1px solid var(--blue-400);
        }

        .btn-secondary:hover {
            background: rgba(59, 130, 246, 0.1);
            border-color: var(--blue-500);
            color: var(--blue-500);
        }

        /* Section Styling */
        section {
            padding: 150px 0;
            position: relative;
        }

        section:nth-child(even) {
            background: rgba(255, 255, 255, 0.02);
        }

        .section-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 4rem;
            text-align: center;
            margin-bottom: 1rem;
            position: relative;
            font-weight: 800;
            letter-spacing: -2px;
            color: var(--dark);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: var(--gray);
            margin-bottom: 5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 400;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 2px;
            background: white;
            margin: 2rem auto;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 450px 1fr;
            gap: 6rem;
            align-items: start;
        }

        .about-image {
            text-align: center;
            position: sticky;
            top: 120px;
        }

        .profile-img-wrapper {
            position: relative;
            display: inline-block;
        }

        .profile-img {
            width: 450px;
            height: 550px;
            border-radius: 0;
            object-fit: cover;
            border: 1px solid var(--border);
            transition: all 0.4s ease;
            filter: grayscale(0%);
        }

        .profile-img:hover {
            transform: scale(1.02);
            border-color: var(--blue-500);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
        }

        .profile-img-wrapper::before {
            content: '';
            position: absolute;
            inset: -20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            z-index: -1;
            transition: all 0.4s ease;
        }

        .profile-img:hover + ::before {
            inset: -25px;
        }

        .about-text {
            background: var(--bg-secondary);
            backdrop-filter: blur(20px);
            padding: 4rem;
            border: 1px solid var(--border);
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 2;
            color: var(--gray-dark);
            margin-bottom: 2rem;
        }

        .about-text p:last-child {
            margin-bottom: 0;
        }

        .about-text strong {
            color: var(--dark);
            font-weight: 600;
        }

        /* Skills Section - Horizontal Scroll */
        #skills {
            position: relative;
        }

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

        .skill-category {
            background: var(--bg-secondary);
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .skill-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

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

        .skill-category:hover {
            background: white;
            border-color: var(--blue-400);
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
            transform: translateY(-4px);
        }

        .skill-category h3 {
            color: var(--dark);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            font-weight: 700;
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: -0.3px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .skill-category h3::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--blue-500);
            border-radius: 50%;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
        }

        .skill-tag {
            background: white;
            color: var(--gray-dark);
            padding: 0.5rem 1rem;
            border-radius: 6px;
            border: 1px solid var(--border);
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.2s ease;
            letter-spacing: 0.2px;
        }

        .skill-tag:hover {
            background: var(--blue-500);
            color: white;
            border-color: var(--blue-500);
            transform: translateY(-2px);
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            padding: 2rem 0;
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .contact-card {
            background: var(--bg-secondary);
            padding: 4rem 3rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--blue-500);
            transform: scaleX(0);
            transition: transform 0.4s ease;
            border-radius: 12px 12px 0 0;
        }

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

        .contact-card:hover {
            background: white;
            border-color: var(--blue-500);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
        }

        .contact-icon {
            margin-bottom: 2rem;
            color: var(--blue-500);
            opacity: 0.9;
        }

        .contact-label {
            color: var(--gray);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .contact-value {
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
        }

        .contact-value:hover {
            opacity: 0.7;
        }

        a.contact-value:hover {
            text-decoration: underline;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
            justify-content: center;
            gap: 2rem;
            padding: 2rem 0;
        }

        .project-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s ease;
            position: relative;
            cursor: pointer;
            width: 100%;
        }

        .project-card:hover {
            border-color: var(--blue-500);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
        }

        .project-gallery {
            width: 100%;
            height: 200px;
            position: relative;
            overflow: hidden;
            background: var(--bg-main);
        }

        .project-gallery-images {
            position: absolute;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            padding: 10px;
            width: 100%;
            height: 100%;
        }

        .project-gallery-images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            opacity: 0.7;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .project-logo {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 8px;
            padding: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .project-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .project-info {
            padding: 1.5rem;
        }

        .project-title {
            font-size: 1.3rem;
            margin-bottom: 0.3rem;
            color: var(--dark);
            font-weight: 700;
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: -0.5px;
        }

        .project-tech {
            font-size: 0.7rem;
            color: var(--gray);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
        }

        .project-summary {
            color: var(--gray-dark);
            line-height: 1.5;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .project-view-more {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--blue-500);
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .project-view-more:hover {
            gap: 0.8rem;
            color: var(--blue-600);
        }

        /* CTA Project Card */
        .project-card-cta {
            background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
            border: 2px dashed var(--blue-400);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;
        }

        .project-card-cta:hover {
            border-color: var(--blue-300);
            background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
        }

        .project-cta-content {
            text-align: center;
            padding: 2rem;
        }

        .project-cta-icon {
            color: white;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .project-card-cta .project-title {
            color: white;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .project-card-cta .project-summary {
            color: rgba(255, 255, 255, 0.95);
            font-size: 1rem;
            margin-bottom: 1.5rem;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }

        .project-card-cta .project-view-more {
            color: white;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            backdrop-filter: blur(10px);
            font-size: 1rem;
        }

        .project-card-cta .project-view-more:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            animation: fadeIn 0.3s ease;
        }

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

        .modal-content {
            background: white;
            border-radius: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            position: relative;
            animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .modal-close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            font-size: 1.5rem;
            color: var(--dark);
            cursor: pointer;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: white;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .modal-close:hover {
            background: var(--bg-secondary);
            transform: scale(1.1);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
        }

        .modal-gallery {
            background: #000;
            padding: 0;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 0;
            scroll-behavior: smooth;
        }

        .modal-gallery img {
            width: 100%;
            cursor: zoom-in;
            transition: all 0.4s ease;
            object-fit: cover;
        }

        .modal-gallery img:nth-child(1),
        .modal-gallery img:nth-child(2) {
            object-fit: contain;
            background: #f8f9fa;
            padding: 3rem;
            min-height: 50vh;
        }

        .modal-gallery img:nth-child(n+3) {
            min-height: 40vh;
        }

        .modal-gallery-mobile img {
            object-fit: contain !important;
            background: #f8f9fa !important;
            padding: 3rem !important;
            min-height: 50vh !important;
        }

        .modal-gallery img:hover {
            opacity: 0.85;
            transform: scale(1.02);
        }

        .modal-body {
            padding: 4rem;
            background: white;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .modal-header {
            margin-bottom: 3rem;
        }

        .modal-logo {
            width: 80px;
            height: 80px;
            background: var(--bg-secondary);
            border-radius: 20px;
            padding: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .modal-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .modal-title {
            font-size: 3rem;
            color: var(--dark);
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -2px;
            line-height: 1;
        }

        .modal-tech {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            margin-top: 0.75rem;
        }

        .tech-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            color: var(--gray-dark);
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: 6px;
            border: 1px solid var(--border);
        }

        .modal-description {
            color: var(--gray-dark);
            line-height: 1.8;
            font-size: 1.125rem;
            margin-top: 2rem;
            margin-bottom: auto;
        }

        .modal-links {
            display: flex;
            gap: 1rem;
            margin-top: 3rem;
            padding-top: 3rem;
            border-top: 1px solid var(--gray-light);
        }

        .modal-link {
            padding: 1rem 2rem;
            background: var(--blue-500);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.9rem;
            flex: 1;
            text-align: center;
        }

        .modal-link:hover {
            background: var(--blue-600);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
        }

        .modal-link.disabled {
            background: var(--gray-light);
            color: var(--gray);
            cursor: not-allowed;
            pointer-events: none;
            opacity: 0.5;
            position: relative;
        }

        .modal-link.disabled::after {
            content: '•••';
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            letter-spacing: 2px;
            opacity: 0.4;
        }

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

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Fullscreen Image Viewer */
        .image-viewer {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            animation: fadeIn 0.3s ease;
        }

        .image-viewer.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .image-viewer img {
            max-width: 90%;
            max-height: 90vh;
            object-fit: contain;
            animation: zoomIn 0.3s ease;
        }

        .image-viewer-close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            font-size: 2rem;
            color: white;
            cursor: pointer;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .image-viewer-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Footer */
        footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            color: var(--dark);
            text-align: center;
            padding: 5rem 0 3rem;
        }

        .footer-content {
            margin-bottom: 3rem;
        }

        .footer-content h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            margin-bottom: 0.75rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--dark);
        }

        .footer-content p {
            color: var(--gray-dark);
            font-size: 1rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 0;
            margin: 3rem 0;
            border: 1px solid var(--border);
            display: inline-flex;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background: transparent;
            color: var(--gray-dark);
            text-decoration: none;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            border-right: 1px solid var(--border);
        }

        .social-link:last-child {
            border-right: none;
        }

        .social-link:hover {
            background: var(--blue-500);
            color: white;
        }

        footer p:last-child {
            color: var(--gray);
            margin-top: 3rem;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

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

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

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

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        /* Scroll reveal animation */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .about-image {
                position: relative;
                top: 0;
            }

            .profile-img {
                width: 100%;
                max-width: 450px;
                height: auto;
                aspect-ratio: 9/11;
            }

            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .project-image {
                height: 300px;
            }

            .project-content {
                padding: 2.5rem;
            }

            .project-links {
                margin-left: -2.5rem;
                margin-right: -2.5rem;
                margin-bottom: -2.5rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            /* Modal responsive */
            .modal-content {
                grid-template-columns: 1fr;
                grid-template-rows: auto 1fr;
            }

            .modal-gallery {
                max-height: 50vh;
                order: 1;
                overflow-x: auto;
                overflow-y: hidden;
                flex-direction: row;
            }

            .modal-gallery img {
                min-width: 100%;
                width: 100%;
                height: 50vh;
                flex-shrink: 0;
            }

            .modal-body {
                order: 2;
                padding: 2rem;
            }

            .modal-close {
                top: 1rem;
                right: 1rem;
            }

            .modal-gallery img:nth-child(1),
            .modal-gallery img:nth-child(2) {
                min-height: 40vh;
                padding: 2rem;
            }

            .modal-gallery img:nth-child(n+3) {
                min-height: 30vh;
            }

            .modal-title {
                font-size: 2rem;
            }

            .modal-logo {
                width: 60px;
                height: 60px;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 160px 0 100px;
            }

            .hero h1 {
                font-size: 3.5rem;
                letter-spacing: -2px;
            }

            .hero .tagline {
                font-size: 1.1rem;
            }

            .hero-stats {
                grid-template-columns: 1fr;
                gap: 0;
                border: 1px solid rgba(255, 255, 255, 0.1);
            }

            .stat {
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 0;
            }

            .stat:last-child {
                border-bottom: none;
            }

            .stat-number {
                font-size: 3rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            nav ul {
                gap: 1.5rem;
            }

            nav a {
                font-size: 0.85rem;
            }

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

            .skill-category {
                padding: 1.5rem;
            }

            .cta-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn {
                width: 100%;
            }

            .profile-img {
                width: 100%;
                max-width: 350px;
                height: auto;
                aspect-ratio: 9/11;
            }

            .about-text {
                padding: 2rem;
            }

            .project-links {
                flex-direction: column;
            }

            .project-link {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .project-link:last-child {
                border-bottom: none;
            }

            /* Modal mobile */
            .modal-body {
                padding: 1.5rem;
            }

            .modal-title {
                font-size: 1.75rem;
                letter-spacing: -1px;
            }

            .modal-description {
                font-size: 1rem;
            }

            .modal-links {
                flex-direction: column;
                gap: 1rem;
            }

            .modal-link {
                width: 100%;
            }

            .modal-gallery img:nth-child(1),
            .modal-gallery img:nth-child(2) {
                padding: 1.5rem;
                min-height: 35vh;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }

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

            .hero-badge {
                font-size: 0.75rem;
                padding: 0.5rem 1.2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            nav .logo {
                font-size: 1.2rem;
            }

            nav ul {
                gap: 1rem;
            }

            .social-links {
                flex-direction: column;
                width: 100%;
            }

            .social-link {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .social-link:last-child {
                border-bottom: none;
            }
        }

        /* Loading animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000000;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .loading.hide {
            opacity: 0;
            visibility: hidden;
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

/* Accordion Styles for MAVN Project */
.accordion-content {
    transition: max-height 0.4s ease;
}

.accordion-icon.rotated {
    transform: rotate(45deg);
}

.active .accordion-content {
    max-height: 500px !important;
}
