/* ===================================
   ILA IKRAM - Professional Portfolio
   Premium Black & White Design
   =================================== */

/* CSS Variables */
:root {
                    /* Monochrome Colors */
                    --color-black: #000000;
                    --color-white: #ffffff;
                    --color-bg-primary: #000000;
                    --color-bg-secondary: #0a0a0a;
                    --color-bg-tertiary: #111111;
                    --color-bg-card: #0d0d0d;

                    /* Grays */
                    --color-gray-100: #f5f5f5;
                    --color-gray-200: #e5e5e5;
                    --color-gray-300: #d4d4d4;
                    --color-gray-400: #a3a3a3;
                    --color-gray-500: #737373;
                    --color-gray-600: #525252;
                    --color-gray-700: #404040;
                    --color-gray-800: #262626;
                    --color-gray-900: #171717;

                    /* Accent - Subtle gold for highlights */
                    --color-accent: #c9a962;
                    --color-accent-dim: rgba(201, 169, 98, 0.1);

                    /* Text */
                    --color-text-primary: #ffffff;
                    --color-text-secondary: #a3a3a3;
                    --color-text-muted: #525252;

                    /* Gradients */
                    --gradient-white: linear-gradient(135deg, #ffffff, #a3a3a3);
                    --gradient-fade: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
                    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), transparent);

                    /* Glass Effect */
                    --glass-bg: rgba(255, 255, 255, 0.02);
                    --glass-border: rgba(255, 255, 255, 0.05);
                    --glass-hover: rgba(255, 255, 255, 0.05);

                    /* Typography */
                    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
                    --font-display: 'Space Grotesk', sans-serif;

                    /* Spacing */
                    --section-padding: 120px 0;
                    --container-max-width: 1400px;

                    /* Transitions */
                    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
                    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
                    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*,
*::before,
*::after {
                    margin: 0;
                    padding: 0;
                    box-sizing: border-box;
}

html {
                    scroll-behavior: smooth;
                    scrollbar-width: thin;
                    scrollbar-color: var(--color-gray-700) var(--color-black);
}

body {
                    font-family: var(--font-primary);
                    background-color: var(--color-black);
                    color: var(--color-text-primary);
                    line-height: 1.6;
                    overflow-x: hidden;
                    min-height: 100vh;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
                    width: 6px;
}

::-webkit-scrollbar-track {
                    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
                    background: var(--color-gray-700);
                    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
                    background: var(--color-gray-500);
}

/* Selection */
::selection {
                    background: var(--color-white);
                    color: var(--color-black);
}

/* ===================================
   Space Background - Refined
   =================================== */
.space-background {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    z-index: -1;
                    overflow: hidden;
                    background: var(--color-black);
}

/* Subtle Stars */
.stars {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    pointer-events: none;
}

.stars::before {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background-image:
                                        radial-gradient(1px 1px at 100px 50px, rgba(255, 255, 255, 0.4), transparent),
                                        radial-gradient(1px 1px at 200px 150px, rgba(255, 255, 255, 0.3), transparent),
                                        radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.4), transparent),
                                        radial-gradient(1px 1px at 400px 200px, rgba(255, 255, 255, 0.2), transparent),
                                        radial-gradient(1px 1px at 500px 80px, rgba(255, 255, 255, 0.4), transparent),
                                        radial-gradient(1px 1px at 600px 180px, rgba(255, 255, 255, 0.3), transparent),
                                        radial-gradient(1px 1px at 700px 120px, rgba(255, 255, 255, 0.2), transparent),
                                        radial-gradient(1px 1px at 800px 250px, rgba(255, 255, 255, 0.4), transparent);
                    background-size: 1000px 400px;
                    animation: subtleFloat 60s linear infinite;
                    opacity: 0.6;
}

.stars.stars-2::before {
                    background-size: 800px 300px;
                    animation-duration: 80s;
                    animation-direction: reverse;
                    opacity: 0.4;
}

.stars.stars-3::before {
                    background-size: 600px 350px;
                    animation-duration: 100s;
                    opacity: 0.3;
}

@keyframes subtleFloat {
                    from {
                                        transform: translateY(0);
                    }

                    to {
                                        transform: translateY(-100px);
                    }
}

/* Subtle Gradient Overlay */
.nebula {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background:
                                        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                                        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
                    pointer-events: none;
}

/* Hide shooting stars for cleaner look */
.shooting-stars {
                    display: none;
}

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

/* ===================================
   Cursor Glow Effect
   =================================== */
.cursor-glow {
                    position: fixed;
                    width: 400px;
                    height: 400px;
                    border-radius: 50%;
                    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
                    pointer-events: none;
                    z-index: 0;
                    transform: translate(-50%, -50%);
                    transition: opacity 0.3s ease;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    z-index: 1000;
                    padding: 24px 0;
                    transition: all var(--transition-normal);
}

.navbar.scrolled {
                    background: rgba(0, 0, 0, 0.9);
                    backdrop-filter: blur(20px);
                    border-bottom: 1px solid var(--glass-border);
                    padding: 16px 0;
}

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

.nav-logo {
                    font-family: var(--font-display);
                    font-size: 24px;
                    font-weight: 700;
                    color: var(--color-white);
                    text-decoration: none;
                    letter-spacing: 2px;
}

.logo-text {
                    color: var(--color-white);
}

.logo-dot {
                    color: var(--color-accent);
}

.nav-menu {
                    display: flex;
                    gap: 48px;
}

.nav-link {
                    color: var(--color-gray-400);
                    text-decoration: none;
                    font-size: 13px;
                    font-weight: 500;
                    letter-spacing: 1.5px;
                    text-transform: uppercase;
                    position: relative;
                    padding: 8px 0;
                    transition: color var(--transition-fast);
}

.nav-link::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 1px;
                    background: var(--color-white);
                    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
                    color: var(--color-white);
}

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

.nav-toggle {
                    display: none;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    width: 40px;
                    height: 40px;
                    background: transparent;
                    border: none;
                    cursor: pointer;
                    z-index: 1001;
}

.hamburger {
                    width: 24px;
                    height: 1px;
                    background: var(--color-white);
                    position: relative;
                    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
                    content: '';
                    position: absolute;
                    width: 24px;
                    height: 1px;
                    background: var(--color-white);
                    transition: transform var(--transition-normal);
}

.hamburger::before {
                    top: -8px;
}

.hamburger::after {
                    bottom: -8px;
}

.nav-toggle.active .hamburger {
                    background: transparent;
}

.nav-toggle.active .hamburger::before {
                    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
                    transform: translateY(-8px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
                    min-height: 100vh;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    padding: 100px 40px 80px;
                    position: relative;
                    overflow: hidden;
}

.hero-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 50px;
                    max-width: var(--container-max-width);
                    width: 100%;
}

/* Hero Image - Minimalist */
.hero-image-container {
                    position: relative;
                    width: 200px;
                    height: 200px;
}

.orbit-ring {
                    position: absolute;
                    border: 1px solid rgba(255, 255, 255, 0.05);
                    border-radius: 50%;
                    animation: orbitSlow 40s linear infinite;
}

.orbit-ring-1 {
                    width: 250px;
                    height: 250px;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
}

.orbit-ring-2 {
                    width: 300px;
                    height: 300px;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    animation-direction: reverse;
                    animation-duration: 60s;
}

.orbit-ring-3 {
                    width: 350px;
                    height: 350px;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    animation-duration: 80s;
                    border-style: dashed;
                    border-color: rgba(255, 255, 255, 0.03);
}

@keyframes orbitSlow {
                    from {
                                        transform: translate(-50%, -50%) rotate(0deg);
                    }

                    to {
                                        transform: translate(-50%, -50%) rotate(360deg);
                    }
}

.hero-image-wrapper {
                    width: 180px;
                    height: 180px;
                    border-radius: 50%;
                    overflow: hidden;
                    position: relative;
                    z-index: 2;
                    border: 2px solid rgba(255, 255, 255, 0.1);
                    margin: 10px;
}

.hero-image-wrapper::before {
                    content: '';
                    position: absolute;
                    inset: -3px;
                    border-radius: 50%;
                    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
                    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

                    0%,
                    100% {
                                        transform: rotate(0deg);
                    }

                    50% {
                                        transform: rotate(180deg);
                    }
}

.hero-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    filter: grayscale(20%);
                    transition: all var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
                    filter: grayscale(0%);
                    transform: scale(1.05);
}

/* Hide colorful floating icons */
.floating-icons {
                    display: none;
}

/* Hero Text */
.hero-text {
                    text-align: center;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 24px;
}

.hero-greeting {
                    font-size: 13px;
                    color: var(--color-gray-500);
                    text-transform: uppercase;
                    letter-spacing: 6px;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
}

.hero-name {
                    font-family: var(--font-display);
                    font-size: clamp(60px, 12vw, 140px);
                    font-weight: 700;
                    line-height: 0.9;
                    letter-spacing: -2px;
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
}

.name-letter {
                    display: inline-block;
                    color: var(--color-white);
                    opacity: 0;
                    transform: translateY(100px) rotateX(90deg);
                    animation: letterReveal3D 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.name-letter:nth-child(1) {
                    animation-delay: 0.3s;
}

.name-letter:nth-child(2) {
                    animation-delay: 0.4s;
}

.name-letter:nth-child(3) {
                    animation-delay: 0.5s;
}

.name-letter:nth-child(5) {
                    animation-delay: 0.7s;
}

.name-letter:nth-child(6) {
                    animation-delay: 0.8s;
}

.name-letter:nth-child(7) {
                    animation-delay: 0.9s;
}

.name-letter:nth-child(8) {
                    animation-delay: 1.0s;
}

.name-letter:nth-child(9) {
                    animation-delay: 1.1s;
}

@keyframes letterReveal3D {
                    to {
                                        opacity: 1;
                                        transform: translateY(0) rotateX(0deg);
                    }
}

.name-space {
                    width: 30px;
}

.hero-role {
                    font-size: 18px;
                    color: var(--color-gray-400);
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
                    animation-delay: 1.3s;
}

.role-prefix {
                    color: var(--color-gray-600);
}

.typing-text {
                    color: var(--color-white);
                    font-weight: 500;
}

.cursor {
                    display: inline-block;
                    color: var(--color-accent);
                    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

                    0%,
                    100% {
                                        opacity: 1;
                    }

                    50% {
                                        opacity: 0;
                    }
}

.hero-description {
                    max-width: 500px;
                    color: var(--color-gray-500);
                    font-size: 15px;
                    line-height: 1.8;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
                    animation-delay: 1.5s;
}

/* Hero Buttons */
.hero-buttons {
                    display: flex;
                    gap: 24px;
                    margin-top: 16px;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
                    animation-delay: 1.7s;
}

.btn {
                    display: inline-flex;
                    align-items: center;
                    gap: 12px;
                    padding: 18px 36px;
                    font-size: 13px;
                    font-weight: 500;
                    letter-spacing: 1.5px;
                    text-transform: uppercase;
                    text-decoration: none;
                    border-radius: 0;
                    transition: all var(--transition-normal);
                    cursor: pointer;
}

.btn-primary {
                    background: var(--color-white);
                    color: var(--color-black);
                    border: 1px solid var(--color-white);
}

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

.btn-primary .btn-icon {
                    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
                    transform: translateX(4px);
}

.btn-secondary {
                    background: transparent;
                    color: var(--color-white);
                    border: 1px solid var(--color-gray-700);
}

.btn-secondary:hover {
                    border-color: var(--color-white);
                    transform: translateY(-2px);
}

.btn-stars {
                    display: none;
}

/* Hero Stats */
.hero-stats {
                    display: flex;
                    align-items: center;
                    gap: 60px;
                    margin-top: 40px;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
                    animation-delay: 1.9s;
}

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

.stat-number {
                    font-family: var(--font-display);
                    font-size: 48px;
                    font-weight: 700;
                    color: var(--color-white);
                    line-height: 1;
}

.stat-suffix {
                    font-family: var(--font-display);
                    font-size: 32px;
                    font-weight: 700;
                    color: var(--color-white);
}

.stat-label {
                    display: block;
                    font-size: 11px;
                    color: var(--color-gray-500);
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    margin-top: 8px;
}

.stat-divider {
                    width: 1px;
                    height: 50px;
                    background: var(--color-gray-800);
}

/* Scroll Indicator */
.scroll-indicator {
                    position: absolute;
                    bottom: 50px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 12px;
                    opacity: 0;
                    animation: fadeInUp 1s ease forwards;
                    animation-delay: 2.1s;
}

.mouse {
                    width: 24px;
                    height: 38px;
                    border: 1px solid var(--color-gray-700);
                    border-radius: 12px;
                    display: flex;
                    justify-content: center;
                    padding-top: 10px;
}

.mouse-wheel {
                    width: 2px;
                    height: 6px;
                    background: var(--color-white);
                    border-radius: 1px;
                    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

                    0%,
                    100% {
                                        transform: translateY(0);
                                        opacity: 1;
                    }

                    50% {
                                        transform: translateY(8px);
                                        opacity: 0.3;
                    }
}

.scroll-text {
                    font-size: 10px;
                    color: var(--color-gray-600);
                    text-transform: uppercase;
                    letter-spacing: 3px;
}

@keyframes fadeInUp {
                    from {
                                        opacity: 0;
                                        transform: translateY(40px);
                    }

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

/* ===================================
   Section Common Styles
   =================================== */
.section {
                    padding: var(--section-padding);
                    position: relative;
                    z-index: 1;
}

.section-container {
                    max-width: var(--container-max-width);
                    margin: 0 auto;
                    padding: 0 40px;
}

.section-header {
                    text-align: center;
                    margin-bottom: 80px;
}

.section-tag {
                    display: inline-block;
                    font-size: 11px;
                    color: var(--color-gray-500);
                    text-transform: uppercase;
                    letter-spacing: 4px;
                    margin-bottom: 20px;
}

.section-title {
                    font-family: var(--font-display);
                    font-size: clamp(40px, 8vw, 72px);
                    font-weight: 700;
                    color: var(--color-white);
                    letter-spacing: -1px;
                    margin-bottom: 20px;
}

.title-underline {
                    width: 60px;
                    height: 1px;
                    background: var(--color-gray-600);
                    margin: 0 auto;
}

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

.about-text {
                    display: flex;
                    flex-direction: column;
                    gap: 24px;
}

.about-intro {
                    font-size: 24px;
                    line-height: 1.6;
                    color: var(--color-white);
}

.about-intro strong {
                    color: var(--color-white);
                    font-weight: 600;
}

.about-description {
                    color: var(--color-gray-400);
                    line-height: 1.9;
                    font-size: 15px;
}

.about-interests {
                    background: var(--glass-bg);
                    border: 1px solid var(--glass-border);
                    padding: 32px;
                    margin-top: 16px;
}

.interests-title {
                    font-size: 16px;
                    font-weight: 600;
                    margin-bottom: 16px;
                    color: var(--color-white);
}

.interests-text {
                    color: var(--color-gray-400);
                    line-height: 1.8;
                    font-size: 14px;
}

.interests-text strong {
                    color: var(--color-white);
}

.about-cta {
                    margin-top: 16px;
}

/* About Cards */
.about-cards {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
}

.about-card {
                    background: transparent;
                    border: 1px solid var(--glass-border);
                    padding: 32px;
                    display: flex;
                    align-items: flex-start;
                    gap: 24px;
                    transition: all var(--transition-normal);
                    cursor: default;
}

.about-card:hover {
                    background: var(--glass-bg);
                    border-color: var(--color-gray-600);
                    transform: translateX(8px);
}

.card-icon {
                    font-size: 28px;
                    min-width: 50px;
                    height: 50px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    filter: grayscale(100%);
                    opacity: 0.7;
}

.about-card:hover .card-icon {
                    filter: grayscale(0%);
                    opacity: 1;
}

.card-title {
                    font-size: 16px;
                    font-weight: 600;
                    margin-bottom: 8px;
                    color: var(--color-white);
}

.card-text {
                    font-size: 14px;
                    color: var(--color-gray-500);
                    line-height: 1.6;
}

/* ===================================
   Projects Section
   =================================== */
.projects-grid {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 40px;
}

.project-card {
                    background: var(--color-bg-secondary);
                    border: 1px solid var(--glass-border);
                    overflow: hidden;
                    transition: all var(--transition-normal);
                    position: relative;
}

.project-card:hover {
                    border-color: var(--color-gray-600);
                    transform: translateY(-8px);
}

.project-card.full-width {
                    grid-column: span 2;
}

.project-image {
                    position: relative;
                    height: 280px;
                    overflow: hidden;
                    background: var(--color-black);
}

.project-card.full-width .project-image {
                    height: 350px;
}

/* Live Preview iFrame */
.project-preview-iframe {
                    width: 200%;
                    height: 200%;
                    border: none;
                    transform: scale(0.5);
                    transform-origin: top left;
                    pointer-events: none;
                    transition: transform var(--transition-slow);
}

.project-card:hover .project-preview-iframe {
                    transform: scale(0.52);
}

.project-preview {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-black));
                    transition: transform var(--transition-slow);
}

.project-card:hover .project-preview {
                    transform: scale(1.02);
}

.preview-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 12px;
}

.preview-icon {
                    font-size: 48px;
                    filter: grayscale(100%);
                    opacity: 0.5;
}

.preview-text {
                    font-size: 18px;
                    font-weight: 600;
                    color: var(--color-gray-400);
                    letter-spacing: 2px;
}

.project-overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.9));
                    display: flex;
                    justify-content: center;
                    align-items: flex-end;
                    padding-bottom: 24px;
                    opacity: 0;
                    transition: opacity var(--transition-normal);
}

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

.project-link {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    padding: 14px 28px;
                    background: var(--color-white);
                    color: var(--color-black);
                    text-decoration: none;
                    font-weight: 600;
                    font-size: 12px;
                    letter-spacing: 1px;
                    text-transform: uppercase;
                    transition: all var(--transition-fast);
}

.project-link:hover {
                    background: var(--color-gray-200);
}

.project-badge {
                    padding: 10px 24px;
                    background: var(--color-white);
                    color: var(--color-black);
                    font-size: 11px;
                    font-weight: 600;
                    letter-spacing: 1px;
                    text-transform: uppercase;
}

.project-content {
                    padding: 32px;
                    border-top: 1px solid var(--glass-border);
}

.project-tags {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 8px;
                    margin-bottom: 16px;
}

.tag {
                    padding: 6px 14px;
                    background: transparent;
                    border: 1px solid var(--color-gray-800);
                    color: var(--color-gray-400);
                    font-size: 11px;
                    font-weight: 500;
                    letter-spacing: 0.5px;
}

.project-title {
                    font-size: 24px;
                    font-weight: 700;
                    margin-bottom: 12px;
                    color: var(--color-white);
}

.project-description {
                    color: var(--color-gray-500);
                    font-size: 14px;
                    line-height: 1.7;
                    margin-bottom: 20px;
}

.project-tech {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 8px;
}

.tech-item {
                    padding: 4px 10px;
                    background: var(--color-gray-900);
                    color: var(--color-gray-500);
                    font-size: 11px;
                    font-weight: 500;
}

/* ===================================
   Skills Section
   =================================== */
.skills-content {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 24px;
}

.skills-category {
                    background: transparent;
                    border: 1px solid var(--glass-border);
                    padding: 40px 32px;
                    transition: all var(--transition-normal);
}

.skills-category:hover {
                    border-color: var(--color-gray-600);
                    background: var(--glass-bg);
}

.category-title {
                    font-size: 14px;
                    font-weight: 600;
                    margin-bottom: 32px;
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    color: var(--color-white);
}

.category-icon {
                    font-size: 20px;
                    filter: grayscale(100%);
}

.skills-category:hover .category-icon {
                    filter: grayscale(0%);
}

.skills-grid {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
}

.skill-item {
                    display: flex;
                    align-items: center;
                    gap: 14px;
                    padding: 12px 0;
                    border-bottom: 1px solid var(--glass-border);
                    transition: all var(--transition-fast);
}

.skill-item:last-child {
                    border-bottom: none;
}

.skill-item:hover {
                    padding-left: 8px;
}

.skill-icon {
                    width: 32px;
                    height: 32px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 18px;
                    opacity: 0.6;
}

.skill-icon svg {
                    width: 24px;
                    height: 24px;
                    fill: var(--color-gray-400);
}

.skill-item:hover .skill-icon {
                    opacity: 1;
}

.skill-name {
                    font-size: 13px;
                    font-weight: 500;
                    color: var(--color-gray-400);
}

.skill-item:hover .skill-name {
                    color: var(--color-white);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 60px;
}

.contact-text {
                    text-align: center;
                    max-width: 600px;
}

.contact-intro {
                    font-size: 24px;
                    margin-bottom: 16px;
                    color: var(--color-white);
}

.contact-description {
                    color: var(--color-gray-500);
                    font-size: 15px;
                    line-height: 1.8;
}

.contact-cards {
                    display: flex;
                    gap: 24px;
                    flex-wrap: wrap;
                    justify-content: center;
}

.contact-card {
                    display: flex;
                    align-items: center;
                    gap: 20px;
                    padding: 28px 36px;
                    background: transparent;
                    border: 1px solid var(--glass-border);
                    text-decoration: none;
                    color: var(--color-text-primary);
                    min-width: 300px;
                    transition: all var(--transition-normal);
}

.contact-card:hover {
                    border-color: var(--color-white);
                    background: var(--glass-bg);
                    transform: translateY(-4px);
}

.contact-icon {
                    width: 48px;
                    height: 48px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid var(--color-gray-800);
}

.contact-icon svg {
                    width: 20px;
                    height: 20px;
                    color: var(--color-gray-400);
}

.contact-card:hover .contact-icon svg {
                    color: var(--color-white);
}

.contact-info {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
}

.contact-label {
                    font-size: 11px;
                    color: var(--color-gray-600);
                    text-transform: uppercase;
                    letter-spacing: 2px;
}

.contact-value {
                    font-size: 15px;
                    font-weight: 500;
                    color: var(--color-white);
}

.contact-arrow {
                    margin-left: auto;
                    font-size: 18px;
                    color: var(--color-gray-700);
                    transition: all var(--transition-fast);
}

.contact-card:hover .contact-arrow {
                    color: var(--color-white);
                    transform: translateX(4px);
}

.contact-location {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    padding: 16px 28px;
                    border: 1px solid var(--glass-border);
}

.location-icon {
                    font-size: 16px;
                    filter: grayscale(100%);
}

.location-text {
                    color: var(--color-gray-500);
                    font-size: 14px;
                    letter-spacing: 1px;
}

/* ===================================
   Footer
   =================================== */
.footer {
                    position: relative;
                    padding: 80px 40px 40px;
                    border-top: 1px solid var(--glass-border);
}

.footer-content {
                    max-width: var(--container-max-width);
                    margin: 0 auto;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 40px;
}

.footer-brand {
                    text-align: center;
}

.footer-logo {
                    font-family: var(--font-display);
                    font-size: 28px;
                    font-weight: 700;
                    color: var(--color-white);
                    letter-spacing: 2px;
}

.footer-tagline {
                    color: var(--color-gray-600);
                    font-size: 13px;
                    margin-top: 12px;
                    letter-spacing: 1px;
}

.footer-links {
                    display: flex;
                    gap: 40px;
}

.footer-link {
                    color: var(--color-gray-500);
                    text-decoration: none;
                    font-size: 12px;
                    letter-spacing: 1px;
                    text-transform: uppercase;
                    transition: color var(--transition-fast);
}

.footer-link:hover {
                    color: var(--color-white);
}

.footer-bottom {
                    text-align: center;
}

.copyright {
                    color: var(--color-gray-700);
                    font-size: 12px;
                    letter-spacing: 1px;
}

.footer-quote {
                    color: var(--color-gray-800);
                    font-size: 11px;
                    margin-top: 8px;
}

.footer-glow {
                    display: none;
}

/* ===================================
   Scroll Reveal Animation - Mind-Blowing
   =================================== */
.reveal {
                    opacity: 0;
                    transform: translateY(100px);
                    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Stagger animations for cards */
.reveal-stagger {
                    opacity: 0;
                    transform: translateY(80px) scale(0.95);
                    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Horizontal reveal */
.reveal-left {
                    opacity: 0;
                    transform: translateX(-100px);
                    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.active {
                    opacity: 1;
                    transform: translateX(0);
}

.reveal-right {
                    opacity: 0;
                    transform: translateX(100px);
                    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right.active {
                    opacity: 1;
                    transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
                    opacity: 0;
                    transform: scale(0.8);
                    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scale.active {
                    opacity: 1;
                    transform: scale(1);
}

/* Rotate reveal */
.reveal-rotate {
                    opacity: 0;
                    transform: rotateX(45deg) translateY(50px);
                    transform-origin: bottom;
                    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-rotate.active {
                    opacity: 1;
                    transform: rotateX(0deg) translateY(0);
}

/* ===================================
   Parallax Sections
   =================================== */
.parallax-section {
                    position: relative;
                    overflow: hidden;
}

.parallax-bg {
                    position: absolute;
                    top: -20%;
                    left: 0;
                    width: 100%;
                    height: 140%;
                    pointer-events: none;
}

/* ===================================
   Text Split Animation
   =================================== */
.split-text .char {
                    display: inline-block;
                    opacity: 0;
                    transform: translateY(100%);
                    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.split-text.active .char {
                    opacity: 1;
                    transform: translateY(0);
}

/* ===================================
   Magnetic Button Effect
   =================================== */
.magnetic-btn {
                    position: relative;
                    transition: transform 0.3s ease;
}

.magnetic-btn:hover {
                    transform: translate(var(--x), var(--y));
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1200px) {
                    .skills-content {
                                        grid-template-columns: repeat(2, 1fr);
                    }
}

@media (max-width: 1024px) {
                    .about-content {
                                        grid-template-columns: 1fr;
                                        gap: 60px;
                    }

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

                    .project-card.full-width {
                                        grid-column: span 1;
                    }
}

@media (max-width: 768px) {
                    :root {
                                        --section-padding: 80px 0;
                    }

                    .nav-container {
                                        padding: 0 24px;
                    }

                    .nav-menu {
                                        position: fixed;
                                        top: 0;
                                        right: -100%;
                                        width: 100%;
                                        height: 100vh;
                                        background: var(--color-black);
                                        flex-direction: column;
                                        justify-content: center;
                                        align-items: center;
                                        gap: 40px;
                                        transition: right var(--transition-normal);
                    }

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

                    .nav-link {
                                        font-size: 18px;
                                        letter-spacing: 3px;
                    }

                    .nav-toggle {
                                        display: flex;
                    }

                    .hero {
                                        padding: 120px 24px 80px;
                    }

                    .section-container {
                                        padding: 0 24px;
                    }

                    .hero-role {
                                        font-size: 16px;
                    }

                    .hero-buttons {
                                        flex-direction: column;
                                        width: 100%;
                                        max-width: 280px;
                    }

                    .btn {
                                        justify-content: center;
                                        width: 100%;
                    }

                    .hero-stats {
                                        flex-direction: row;
                                        gap: 30px;
                                        flex-wrap: wrap;
                                        justify-content: center;
                    }

                    .stat-number {
                                        font-size: 36px;
                    }

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

                    .contact-cards {
                                        flex-direction: column;
                                        width: 100%;
                    }

                    .contact-card {
                                        min-width: auto;
                                        width: 100%;
                    }

                    .footer-links {
                                        flex-wrap: wrap;
                                        justify-content: center;
                                        gap: 24px;
                    }
}

@media (max-width: 480px) {
                    .hero-image-container {
                                        width: 160px;
                                        height: 160px;
                    }

                    .hero-image-wrapper {
                                        width: 140px;
                                        height: 140px;
                    }

                    .name-space {
                                        width: 15px;
                    }

                    .stat-divider {
                                        display: none;
                    }

                    .hero-stats {
                                        gap: 20px;
                    }

                    .about-card {
                                        flex-direction: column;
                                        text-align: center;
                    }

                    .card-icon {
                                        margin: 0 auto;
                    }
}

/* ===================================
   Loading Animation
   =================================== */
.page-loader {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: var(--color-black);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    z-index: 9999;
                    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
                    opacity: 0;
                    visibility: hidden;
}

.loader-line {
                    width: 60px;
                    height: 1px;
                    background: var(--color-gray-800);
                    position: relative;
                    overflow: hidden;
}

.loader-line::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -60px;
                    width: 60px;
                    height: 1px;
                    background: var(--color-white);
                    animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
                    0% {
                                        left: -60px;
                    }

                    100% {
                                        left: 60px;
                    }
}

/* ===================================
   Utility Classes
   =================================== */
.sr-only {
                    position: absolute;
                    width: 1px;
                    height: 1px;
                    padding: 0;
                    margin: -1px;
                    overflow: hidden;
                    clip: rect(0, 0, 0, 0);
                    white-space: nowrap;
                    border: 0;
}

/* Hide elements */
.gurutv-preview,
.automation-preview,
.homeemy-preview {
                    display: none;
}

/* HomeeMy App Mockup */
.homeemy-preview-container {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-black));
}

.app-mockup {
                    width: 140px;
                    height: 280px;
                    background: var(--color-gray-900);
                    border-radius: 24px;
                    padding: 8px;
                    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
                    border: 1px solid var(--color-gray-800);
}

.app-screen {
                    width: 100%;
                    height: 100%;
                    background: var(--color-black);
                    border-radius: 18px;
                    overflow: hidden;
                    padding: 12px;
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
}

.app-header {
                    font-size: 10px;
                    font-weight: 600;
                    color: var(--color-white);
                    text-align: center;
                    padding: 8px 0;
                    border-bottom: 1px solid var(--color-gray-800);
}

.app-content {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 8px;
                    flex: 1;
}

.app-widget {
                    background: var(--color-gray-900);
                    border-radius: 8px;
                    grid-column: span 2;
                    animation: widgetPulse 2s ease-in-out infinite;
}

.app-widget.small {
                    grid-column: span 1;
                    animation-delay: 0.5s;
}

@keyframes widgetPulse {

                    0%,
                    100% {
                                        opacity: 0.3;
                    }

                    50% {
                                        opacity: 0.6;
                    }
}

/* ===================================
   Styled Browser Mockup Previews
   =================================== */
.project-preview-styled {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-black));
                    padding: 20px;
}

.browser-mockup {
                    width: 90%;
                    max-width: 600px;
                    background: var(--color-gray-900);
                    border-radius: 12px;
                    overflow: hidden;
                    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
                    border: 1px solid var(--color-gray-800);
                    transition: transform var(--transition-slow);
}

.project-card:hover .browser-mockup {
                    transform: scale(1.02);
}

.browser-mockup.mini {
                    max-width: 300px;
}

.browser-header {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    padding: 12px 16px;
                    background: var(--color-gray-800);
                    border-bottom: 1px solid var(--color-gray-700);
}

.browser-dots {
                    display: flex;
                    gap: 6px;
}

.browser-dots span {
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    background: var(--color-gray-600);
}

.browser-dots span:first-child {
                    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
                    background: #ffbd2e;
}

.browser-dots span:last-child {
                    background: #28ca42;
}

.browser-url {
                    flex: 1;
                    text-align: center;
                    font-size: 11px;
                    color: var(--color-gray-400);
                    letter-spacing: 1px;
}

.browser-content {
                    padding: 30px;
                    min-height: 200px;
                    background: var(--color-black);
}

/* ILA Automation Preview */
.automation-styled .preview-hero {
                    text-align: center;
                    margin-bottom: 30px;
}

.automation-styled .preview-logo {
                    font-size: 36px;
                    font-weight: 800;
                    color: var(--color-white);
                    letter-spacing: 4px;
                    margin-bottom: 4px;
}

.automation-styled .preview-title {
                    font-size: 14px;
                    font-weight: 600;
                    color: var(--color-gray-400);
                    letter-spacing: 6px;
                    margin-bottom: 8px;
}

.automation-styled .preview-subtitle {
                    font-size: 11px;
                    color: var(--color-gray-600);
                    letter-spacing: 2px;
}

.preview-widgets {
                    display: flex;
                    gap: 12px;
                    justify-content: center;
}

.widget-item {
                    width: 60px;
                    height: 60px;
                    background: var(--color-gray-900);
                    border-radius: 12px;
                    border: 1px solid var(--color-gray-800);
                    animation: widgetPulse 2s ease-in-out infinite;
}

.widget-item:nth-child(2) {
                    animation-delay: 0.3s;
}

.widget-item:nth-child(3) {
                    animation-delay: 0.6s;
}

/* GuruTV Preview */
.gurutv-styled .news-preview {
                    padding: 10px;
}

.gurutv-styled .news-header {
                    font-size: 18px;
                    font-weight: 700;
                    color: var(--color-white);
                    text-align: center;
                    margin-bottom: 20px;
                    letter-spacing: 2px;
}

.gurutv-styled .news-items {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
}

.gurutv-styled .news-item {
                    height: 24px;
                    background: var(--color-gray-900);
                    border-radius: 4px;
                    animation: newsSlide 1.5s ease-in-out infinite;
}

.gurutv-styled .news-item:nth-child(1) {
                    width: 100%;
}

.gurutv-styled .news-item:nth-child(2) {
                    width: 85%;
                    animation-delay: 0.2s;
}

.gurutv-styled .news-item:nth-child(3) {
                    width: 70%;
                    animation-delay: 0.4s;
}

@keyframes newsSlide {

                    0%,
                    100% {
                                        opacity: 0.3;
                                        transform: translateX(0);
                    }

                    50% {
                                        opacity: 0.6;
                                        transform: translateX(5px);
                    }
}