        :root {
            /* Primary Colors */
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --primary-color: #667eea;
            --secondary-color: #764ba2;
            --accent-color: #4f46e5;
            
            /* Neutral Colors */
            --bg-primary: #0a0a0f;
            --bg-secondary: #111118;
            --bg-tertiary: #1a1a24;
            --bg-glass: rgba(17, 17, 24, 0.8);
            
            /* Text Colors */
            --text-primary: #ffffff;
            --text-secondary: #a8a8b3;
            --text-muted: #6b7280;
            
            /* Accent Colors */
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            
            /* Shadows & Effects */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
            
            /* Border Radius */
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;
            
            /* Transitions */
            --transition-fast: 0.1s ease;
            --transition-base: 0.1s ease;
            --transition-slow: 0.1s ease;
        }

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

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ===== LOADING SCREEN - COMPLETELY HIDDEN ===== */
        .loader {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* ===== MAIN CONTENT - VISIBLE IMMEDIATELY ===== */
        main {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            animation: none !important;
        }

       

        /* ===== LOADING SCREEN ===== */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .loader-content {
            text-align: center;
        }

        .loader-logo {
            font-size: 3rem;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 2rem;
            animation: pulse 2s ease-in-out infinite;
        }

        .loader-text {
            color: var(--text-secondary);
            font-size: 1rem;
            margin-top: 1rem;
            opacity: 0;
            animation: fadeInText 0.8s ease-out 1s forwards;
        }

        @keyframes fadeInText {
            to {
                opacity: 1;
            }
        }

        .loader-progress {
            width: 200px;
            height: 4px;
            background: var(--bg-tertiary);
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }

        .loader-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            animation: loading 2s ease-in-out forwards;
        }

        @keyframes loading {
            to { left: 100%; }
        }

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

        @keyframes fadeOut {
            to { opacity: 0; visibility: hidden; }
        }

        /* ===== MAIN CONTENT ENTRANCE ANIMATIONS ===== */
        main {
            opacity: 0;
            animation: mainEntrance 0.4s ease-out 1s forwards;
        }

        @keyframes mainEntrance {
            to {
                opacity: 1;
            }
        }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;          /* center horizontally */
  padding: 8rem 0 4rem;
  position: relative;
  background: transparent;          /* fully transparent background */
  text-align: center;               /* center text inside */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: none;                 /* remove SVG background */
  opacity: 0;                       /* ensure transparency if kept in DOM */
  pointer-events: none;
  z-index: -1;
}

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

.hero-content {
  display: flex;              /* use flex instead of grid */
  flex-direction: column;     /* stack items vertically */
  align-items: center;        /* horizontal center */
  justify-content: center;    /* vertical center */
  gap: 2rem;
  text-align: center;
}


.hero-text {
  max-width: 700px;
  /* Snappy entrance: no delay */
    text-align: left;  /* desktop */

  opacity: 0;
  animation: slideInLeft 0.25s ease-out forwards; /* removed 3s delay */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0 auto 2rem;             /* center + spacing */
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;          /* center the buttons row */
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  opacity: 0;
  animation: slideInRight 0.25s ease-out forwards; /* removed 3s delay */
}

.hero-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: var(--primary-gradient);
  padding: 4px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-slow);
}

.hero-image:hover {
  transform: scale(1.05) rotate(5deg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Quick keyframes (unchanged names, just used without delay) */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-text,
  .hero-visual { animation: none !important; opacity: 1 !important; }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;        /* mobile */
    justify-items: center;     /* center grid items */
  }
  .hero-text {
    text-align: center;        /* mobile */
  }
}

        /* ===== NAVIGATION ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem 0;
            z-index: 1000;
            transition: all var(--transition-base);
        }

        .navbar.scrolled {
            background: rgba(10, 10, 15, 0.95);
            box-shadow: var(--shadow-lg);
        }

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

        .nav-logo {
            font-size: 1.5rem;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            transition: transform var(--transition-base);
        }

        .nav-logo:hover {
            transform: scale(1.05);
        }

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

        .nav-link {
            position: relative;
        }

        .nav-link a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color var(--transition-base);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-md);
        }

        .nav-link a:hover,
        .nav-link a.active {
            color: var(--text-primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-gradient);
            transition: all var(--transition-base);
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

        .nav-cta {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius-lg);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all var(--transition-base);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: white;
            box-shadow: var(--shadow-lg);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl), var(--shadow-glow);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--primary-color);
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
            z-index: 1001;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: all var(--transition-base);
        }

        .mobile-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

       

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .floating-element {
            position: absolute;
            background: var(--primary-gradient);
            border-radius: var(--radius-lg);
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 60%;
            right: 10%;
            width: 80px;
            height: 80px;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            bottom: 20%;
            left: 20%;
            width: 40px;
            height: 40px;
            animation-delay: 4s;
        }

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

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

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

        /* ===== STATS SECTION ===== */
        .stats {
            background: var(--bg-secondary);
            padding: 4rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item {
            padding: 1.5rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
        }

        .stat-label {
            color: var(--text-secondary);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.875rem;
        }

                .text-gradient {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ===== PROJECTS SECTION ===== */
        .projects {
            padding: 6rem 0;
            background: var(--bg-primary);
        }

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

        .section-badge {
            display: inline-block;
            background: rgba(102, 126, 234, 0.1);
            color: var(--primary-color);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.125rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        .project-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .filter-btn.active {
            background: var(--primary-gradient);
            color: white;
            border-color: transparent;
            box-shadow: var(--shadow-glow);
        }

        .filter-btn:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
            border-color: var(--primary-color);
        }

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

                .project-card {
            background: var(--bg-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-2xl);
            overflow: hidden;
            transition: all var(--transition-base);
            position: relative;
            opacity: 1;
            transform: translateY(0);
            display: flex;
            flex-direction: column;
            min-height: 500px;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--primary-gradient);
            transform: translateX(-100%);
            transition: transform 0.8s ease;
            z-index: 2;
        }

        .project-card:hover::before {
            transform: translateX(100%);
        }

        .project-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: var(--shadow-xl), 0 0 30px rgba(102, 126, 234, 0.2);
        }

        /* Enhanced Image Gallery Section */
        .project-images {
            position: relative;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(45deg, var(--bg-tertiary), var(--bg-secondary));
        }

        .image-slider {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

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

        .image-indicators {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 2;
        }

        .indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: var(--primary-color);
            transform: scale(1.2);
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
            display: flex;
            align-items: flex-end;
            padding: 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .project-card:hover .image-overlay {
            opacity: 1;
        }

        .image-count {
            color: white;
            font-size: 0.875rem;
            font-weight: 500;
        }

        /* Keep content normal but allow buttons to stick at bottom */
.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* takes remaining space */
    padding: 2rem;
}

        .project-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .project-icon {
            width: 60px;
            height: 60px;
            border-radius: var(--radius-lg);
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        .project-info h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .project-type {
            font-size: 0.875rem;
            color: var(--primary-color);
            background: rgba(102, 126, 234, 0.1);
            padding: 0.3rem 0.75rem;
            border-radius: 50px;
            font-weight: 500;
            white-space: nowrap;
        }

        .project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* pushes buttons down but keeps text natural */
}

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .tech-tag {
            background: rgba(102, 126, 234, 0.1);
            color: var(--primary-color);
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes links down */
}

/* Buttons always at bottom */
.project-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: auto; /* pushes links down */
}

.project-link {
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    flex: 0 0 auto;
}

.project-link.primary {
    background: var(--primary-gradient);
    color: white;
}


.project-link.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link:hover {
    transform: translateY(-2px);
}


        .read-more-container {
            text-align: center;
            margin-top: 3rem;
        }

        .read-more-btn {
            background: var(--primary-gradient);
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: var(--radius-md);
            font-weight: 600;
            cursor: pointer;
            box-shadow: var(--shadow-glow);
            transition: all var(--transition-base);
        }

        .read-more-btn:hover {
            transform: translateY(-2px);
            background: var(--primary-color);
        }

        /* Project Description Read More */
        .project-description {
            position: relative;
            overflow: hidden;
            transition: all var(--transition-base);
        }

        .project-description.truncated {
            max-height: 4.5em;
            line-height: 1.5;
        }

        .project-description.truncated::after {
            content: '...';
            position: absolute;
            bottom: 0;
            right: 0;
            background: var(--bg-tertiary);
            padding-left: 4px;
        }

        .project-description .read-more-text {
            color: var(--primary-color);
            cursor: pointer;
            font-weight: 600;
            margin-left: 4px;
        }

        .project-description .read-more-text:hover {
            text-decoration: underline;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .project-images {
                height: 180px;
            }

            .project-content {
                padding: 1.5rem;
            }

            .project-header {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        /* ===== SKILLS SECTION ===== */
        .skills {
            padding: 6rem 0;
            background: var(--bg-secondary);
        }

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

        .skill-category {
            background: var(--bg-tertiary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            padding: 1rem;
            transition: all var(--transition-base);
        }

        .skill-category:hover {
            border-color: var(--primary-color);
            box-shadow: var(--shadow-lg);
        }

        .category-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            text-align: center;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            grid-auto-rows: minmax(80px, auto);
        }

        .skill-card {
            background: var(--bg-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            padding: 0.75rem;
            text-align: center;
            transition: all var(--transition-base);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .skill-card:hover {
            transform: translateY(-2px);
            border-color: var(--primary-color);
            box-shadow: var(--shadow-sm);
        }

        .skill-icon {
            width: 25px;
            height: 25px;
            margin: 0 auto 0.25rem;
            transition: transform var(--transition-base);
        }

        .skill-card:hover .skill-icon {
            transform: scale(1.05);
        }

        .skill-name {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        /* Responsive design for skills */
        @media (max-width: 768px) {
            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 1rem;
            }
            
            .skill-category {
                padding: 1.5rem;
            }
            
            .category-title {
                font-size: 1.25rem;
            }
        }

        /* ===== ABOUT SECTION ===== */
        .about {
            padding: 6rem 0;
            background: var(--bg-primary);
        }

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

        .about-text {
            font-size: 1.125rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .about-text-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .about-image {
            position: relative;
            display: flex;
            justify-content: center;
        }

        .about-image img {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: var(--shadow-xl);
            border: 4px solid transparent;
            background: var(--primary-gradient);
            padding: 4px;
        }

        .contact-methods {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .contact-btn {
            background: var(--bg-tertiary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            padding: 1rem;
            border-radius: var(--radius-lg);
            transition: all var(--transition-base);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            font-size: 1.25rem;
        }

        .contact-btn:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem 0;
            text-align: center;
        }

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

        .footer-text {
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .footer-socials {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .footer-copy {
            color: var(--text-muted);
            font-size: 0.875rem;
        }

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

        .animate-delay-1 { animation-delay: 0.1s; }
        .animate-delay-2 { animation-delay: 0.2s; }
        .animate-delay-3 { animation-delay: 0.3s; }
        .animate-delay-4 { animation-delay: 0.4s; }

        /* ===== RESPONSIVE DESIGN ===== */
        @media (max-width: 1024px) {
            .nav-links { 
                display: none; 
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background: rgba(10, 10, 15, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                z-index: 1000;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links .nav-link a {
                font-size: 1.5rem;
                padding: 1rem 2rem;
            }
            
            .mobile-menu { display: flex; }
            
            .hero-content { grid-template-columns: 1fr; gap: 2rem; }
            .skills-content { grid-template-columns: 1fr; gap: 2rem; }
            .about-content { 
                grid-template-columns: 1fr; 
                gap: 2rem; 
                text-align: center;
            }
            
            .projects-grid { grid-template-columns: 1fr; }
            .skills-categories { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .container { padding: 0 1rem; }
            .nav-container { padding: 0 1rem; }
            
            .hero { padding: 4rem 0 2rem; }
            .hero-title { font-size: 2.5rem; }
            .hero-image { width: 280px; height: 280px; }
            .hero-subtitle { font-size: 1rem; }
            
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .skills-grid { grid-template-columns: repeat(2, 1fr); }
            .skills-categories { grid-template-columns: 1fr; }
            
            .btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
            .hero-cta { flex-direction: column; gap: 1rem; }
            
            .project-filters { gap: 0.5rem; }
            .filter-btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
            
            .section-header { margin-bottom: 3rem; }
            .section-title { font-size: 2rem; }
            .section-subtitle { font-size: 1rem; }
        }

        @media (max-width: 480px) {
            .container { padding: 0 0.75rem; }
            .nav-container { padding: 0 0.75rem; }
            
            .hero-title { font-size: 2rem; }
            .hero-image { width: 250px; height: 250px; }
            .hero-cta { gap: 0.75rem; }
            
            .project-filters { flex-direction: column; align-items: center; gap: 0.75rem; }
            .filter-btn { width: 100%; max-width: 200px; }
            
            .stats-grid { grid-template-columns: 1fr; }
            .skills-grid { grid-template-columns: 1fr; }
            
            .about-image img { width: 200px; height: 200px; }
            
            .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
        }

        @media (max-width: 360px) {
            .container { padding: 0 0.5rem; }
            .nav-container { padding: 0 0.5rem; }
            
            .hero-title { font-size: 1.75rem; }
            .hero-image { width: 220px; height: 220px; }
            
            .section-title { font-size: 1.75rem; }
            .section-subtitle { font-size: 0.875rem; }
            
            .project-card { margin: 0 0.5rem; }
        }

        /* ===== UTILITIES ===== */
        .text-gradient {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hidden { display: none; }
        .visible { display: block; }

        /* ===== TOUCH IMPROVEMENTS ===== */
        @media (hover: none) and (pointer: coarse) {
            .btn, .filter-btn, .project-link, .contact-btn {
                min-height: 44px;
                min-width: 44px;
            }
            
            .nav-link a {
                min-height: 44px;
                display: flex;
                align-items: center;
            }
        }

        /* ===== SCROLL ANIMATIONS ===== */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

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

        /* ===== CUSTOM SCROLLBAR ===== */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-gradient);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #8b7bd8 0%, #9d8df1 100%);
        }

        /* ===== HERO CTA ANIMATION ===== */
        .hero-cta {
            opacity: 0;
            transform: translateY(30px);
            animation: ctaEntrance 1s ease-out 3.8s forwards;
        }

        @keyframes ctaEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== HERO VISUAL ANIMATION ===== */
        .hero-visual {
            opacity: 0;
            transform: translateX(50px) scale(0.9);
            animation: visualEntrance 1.2s ease-out 4s forwards;
        }

        @keyframes visualEntrance {
            to {
                opacity: 1;
                transform: translateX(0) scale(1);
            }
        }

        /* ===== HERO IMAGE FLOAT ANIMATION ===== */
        .hero-image img {
            animation: imageFloat 6s ease-in-out infinite;
        }

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

        /* ===== NAVIGATION ENTRANCE ANIMATIONS ===== */
        .navbar {
            opacity: 0;
            transform: translateY(-20px);
            animation: navbarEntrance 1s ease-out 3.1s forwards;
        }

        @keyframes navbarEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .nav-links li {
            opacity: 0;
            transform: translateY(-10px);
        }

        .nav-links li:nth-child(1) { animation: navItemEntrance 0.6s ease-out 3.3s forwards; }
        .nav-links li:nth-child(2) { animation: navItemEntrance 0.6s ease-out 3.4s forwards; }
        .nav-links li:nth-child(3) { animation: navItemEntrance 0.6s ease-out 3.5s forwards; }
        .nav-links li:nth-child(4) { animation: navItemEntrance 0.6s ease-out 3.6s forwards; }

        @keyframes navItemEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .nav-cta {
            opacity: 0;
            transform: translateX(20px);
            animation: navCtaEntrance 0.8s ease-out 3.7s forwards;
        }

        @keyframes navCtaEntrance {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ===== SECTION HEADER ANIMATIONS ===== */
        .section-header {
            opacity: 0;
            transform: translateY(30px);
            animation: sectionHeaderEntrance 1s ease-out 4.5s forwards;
        }

        @keyframes sectionHeaderEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== PROJECT CARDS STAGGERED ANIMATION ===== */
        .project-card {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .project-card.animate-delay-1 { animation: projectCardEntrance 0.8s ease-out 4.8s forwards; }
        .project-card.animate-delay-2 { animation: projectCardEntrance 0.8s ease-out 5.0s forwards; }
        .project-card.animate-delay-3 { animation: projectCardEntrance 0.8s ease-out 5.2s forwards; }
        .project-card.animate-delay-4 { animation: projectCardEntrance 0.8s ease-out 5.4s forwards; }
        .project-card.animate-delay-5 { animation: projectCardEntrance 0.8s ease-out 5.6s forwards; }
        .project-card.animate-delay-6 { animation: projectCardEntrance 0.8s ease-out 5.8s forwards; }

        @keyframes projectCardEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== SKILL CARDS STAGGERED ANIMATION ===== */
        .skill-card {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skill-card.animate-delay-1 { animation: skillCardEntrance 0.6s ease-out 6.0s forwards; }
        .skill-card.animate-delay-2 { animation: skillCardEntrance 0.6s ease-out 6.1s forwards; }
        .skill-card.animate-delay-3 { animation: skillCardEntrance 0.6s ease-out 6.2s forwards; }
        .skill-card.animate-delay-4 { animation: skillCardEntrance 0.6s ease-out 6.3s forwards; }

        @keyframes skillCardEntrance {
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* ===== ABOUT SECTION ANIMATION ===== */
        .about-content {
            opacity: 0;
            transform: translateY(40px);
            animation: aboutEntrance 1s ease-out 6.5s forwards;
        }

        @keyframes aboutEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== FOOTER ANIMATION ===== */
        .footer {
            opacity: 0;
            transform: translateY(20px);
            animation: footerEntrance 0.8s ease-out 7s forwards;
        }

        @keyframes footerEntrance {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== SMOOTH HOVER EFFECTS ===== */
        .btn, .project-link, .contact-btn {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn:hover, .project-link:hover, .contact-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .skill-card:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: var(--shadow-glow);
        }

        /* ===== RESPONSIVE ANIMATIONS ===== */
        @media (max-width: 768px) {
            .hero-content {
                animation-duration: 1s;
            }
            
            .hero-visual {
                animation-duration: 1s;
            }
        }

        /* ===== PERFORMANCE OPTIMIZATIONS ===== */
        .hero-bg {
            will-change: transform;
        }
        /* ===== LOADING STATE STYLES ===== */
        body.loading {
            overflow: hidden;
        }

        body.loaded {
            overflow: auto;
        }

