/* ============================================
   SAMEER ALI KHAN - PREMIUM PORTFOLIO
   Netflix-Inspired with Glassmorphism & 3D Effects
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Netflix-inspired colors */
    --primary: #E50914;
    --primary-dark: #B20710;
    --primary-light: #FF3D46;
    --primary-rgb: 229, 9, 20;
    
    /* Dark theme - Netflix style */
    --bg-dark: #141414;
    --bg-darker: #0b0b0b;
    --bg-card: rgba(20, 20, 20, 0.85);
    --bg-card-solid: #1c1c1c;
    
    /* Enhanced Glass effect colors */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glass-glow: 0 0 40px rgba(229, 9, 20, 0.1);
    
    /* Text colors - improved contrast */
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    
    /* Accent colors - more vibrant */
    --accent-green: #00e5b8;
    --accent-blue: #0099ff;
    --accent-purple: #a855f7;
    --accent-gold: #ffc107;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(229, 9, 20, 0.4) 0%, transparent 50%);
    --gradient-text: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s 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);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    cursor: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 100% 100% at 0% 0%, rgba(229, 9, 20, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Hide default cursor on interactive elements */
a, button, input, textarea, select {
    cursor: none;
}

::selection {
    background: var(--primary);
    color: var(--text-primary);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Glow for visibility */
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(229, 9, 20, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease; /* Faster transform */
}

.cursor.active {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--primary);
    mix-blend-mode: normal;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--primary);
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--primary);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============================================
   GLASSMORPHISM UTILITIES
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}



.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* ============================================
   LOADER - SAK ANIMATION
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

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

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

.sak-logo {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.sak-logo .letter {
    position: absolute; /* Stack letters on top of each other */
    font-family: var(--font-display);
    font-size: clamp(80px, 15vw, 150px);
    color: var(--primary);
    text-shadow: 
        0 0 20px rgba(229, 9, 20, 0.5),
        0 0 40px rgba(229, 9, 20, 0.3),
        0 0 60px rgba(229, 9, 20, 0.2);
    opacity: 0;
    transform: scale(1.5);
    line-height: 1;
}

/* Sequential Appearance & Disappearance */
/* S: Appears at 0.5s, Disappears at 1.5s */
.sak-logo .letter-s {
    animation: letterShowHide 1s ease-in-out forwards 0.5s;
}

/* A: Appears at 1.5s, Disappears at 2.5s */
.sak-logo .letter-a {
    animation: letterShowHide 1s ease-in-out forwards 1.5s;
}

/* K Container & Animation */
.letter-k-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* K: Appears at 2.5s, Fades out at 4.0s for Spectrum */
.sak-logo .letter-k {
    animation: letterShow 1.5s ease-in-out forwards 2.5s,
               letterFadeOut 0.5s ease forwards 4.0s;
}

/* Netflix Spectrum Effect */
.netflix-spectrum {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: spectrumShow 6s ease-in forwards 4.0s; /* Starts when K fades out */
    transform-origin: center;
}

.spec-line {
    width: 20%;
    height: 100%;
    transform: scaleY(0);
}

/* Colors based on Netflix intro spectrum */
.s1 { background: #b00612; animation: spectrumGrow 4s ease-out forwards 4.0s; }
.s2 { background: #e50914; animation: spectrumGrow 4s ease-out forwards 4.1s; }
.s3 { background: #ff4f5e; animation: spectrumGrow 4s ease-out forwards 4.2s; }
.s4 { background: #e50914; animation: spectrumGrow 4s ease-out forwards 4.1s; }
.s5 { background: #b00612; animation: spectrumGrow 4s ease-out forwards 4.0s; }

@keyframes letterShowHide {
    0% { opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5); }
}

@keyframes letterShow {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes letterFadeOut {
    to { opacity: 0; transform: scale(1.2); }
}

@keyframes spectrumShow {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(30); } /* Massive zoom into camera */
}

@keyframes spectrumGrow {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

/* Classic Premium Progress Bar */
.loader-bar {
    width: 500px; /* Significantly wider */
    height: 40px; /* Taller for classic look */
    background: #000; /* Deep black background */
    border-radius: 2px; /* Sharp, classic corners */
    overflow: hidden;
    margin-top: 100px;
    position: relative;
    border: 2px solid #333;
    box-shadow: 
        0 0 0 4px rgba(20, 20, 20, 1), /* Dark outer ring */
        0 0 30px rgba(229, 9, 20, 0.15); /* Ambient glow */
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary); /* Matches website styling */
    position: relative;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6); /* Enhanced glow */
    transition: width 0.1s linear;
}

.loader-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 4px;
    color: #fff;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    font-weight: 400;
}

.sidebar-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

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

.sidebar-social-link.whatsapp:hover {
    color: #25D366;
}

.social-tooltip {
    position: absolute;
    left: 60px;
    background: var(--bg-card-solid);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
    border: 1px solid var(--glass-border);
}

.sidebar-social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.email-link {
    writing-mode: vertical-rl;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    transition: all var(--transition-normal);
}

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

.sidebar-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

.social-sidebar {
    position: fixed;
    left: 40px;
    bottom: 0;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.email-sidebar {
    position: fixed;
    right: 40px;
    bottom: 0;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

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

.nav-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

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

.nav-logo .dot {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

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

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

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

.nav-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.nav-btn:hover {
    background: var(--primary);
    color: var(--text-primary);
    border-color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

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

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

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Increased to push content down below navbar */
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000; /* Deep cinematic black base */
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Main Spotlight - Netflix Red */
        radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.35) 0%, transparent 60%),
        /* Secondary Ambient Glow - Purple/Blue for depth */
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 15% 30%, rgba(0, 153, 255, 0.1) 0%, transparent 40%),
        /* Vignette to blend into content */
        linear-gradient(to bottom, transparent 20%, #141414 100%);
    animation: ambientPulse 10s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes ambientPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    opacity: 0.4;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.08) 0%, transparent 50%);
    filter: blur(80px);
    animation: glowMove 15s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes glowMove {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15) rotate(180deg); }
}

@keyframes glowPulseInner {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    top: 60%;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-blue);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--accent-green);
    top: 30%;
    right: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: var(--primary-dark);
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 10px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    padding-left: 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.title-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(50px, 10vw, 100px);
    color: var(--text-primary);
    letter-spacing: 6px;
    line-height: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    text-shadow: 
        0 0 40px rgba(229, 9, 20, 0.3),
        0 0 80px rgba(229, 9, 20, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: fadeInUp 0.8s ease forwards 0.6s, gradientText 8s ease infinite 1.4s;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.title-name:hover::before {
    animation: glitch-1 0.3s linear infinite;
    color: var(--accent-blue);
    opacity: 0.8;
}

.title-name:hover::after {
    animation: glitch-2 0.3s linear infinite;
    color: var(--primary);
    opacity: 0.8;
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(65% 0 14% 0); transform: translate(2px, -2px); }
    20% { clip-path: inset(10% 0 85% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(71% 0 4% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(34% 0 48% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(17% 0 73% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(3% 0 89% 0); transform: translate(-2px, 2px); }
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* Hero Stats Cards */
.hero-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-stat-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 100px;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(40, 40, 40, 0.9));
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.stat-icon {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

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

.stat-plus {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text-primary);
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-left: 8px;
}

/* Card 1 Layout Override (Vertical) */
.hero-stats-cards > div:first-child,
.skills-stats > div:first-child {
    align-items: center;
    text-align: center;
}

.hero-stats-cards > div:first-child .stat-label,
.skills-stats > div:first-child .stat-label {
    margin-left: 0;
    margin-top: 5px;
    display: block;
}

.hero-stats-cards > div:first-child .stat-top,
.skills-stats > div:first-child .stat-top {
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-label {
        margin-left: 0;
        margin-top: 5px;
    }
}

.role-prefix {
    color: var(--text-secondary);
}

.role-text {
    color: var(--primary);
    font-weight: 600;
}

    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 
        0 4px 20px rgba(229, 9, 20, 0.4),
        0 0 40px rgba(229, 9, 20, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(229, 9, 20, 0.5),
        0 0 60px rgba(229, 9, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    border-color: var(--primary);
    background: rgba(229, 9, 20, 0.1);
    transform: translateY(-3px);
}

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

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

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 70px;
    position: relative;
}

.section-number {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(229, 9, 20, 0.5); }
    50% { text-shadow: 0 0 30px rgba(229, 9, 20, 0.8), 0 0 50px rgba(229, 9, 20, 0.3); }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 48px);
    color: var(--text-primary);
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border) 0%, rgba(229, 9, 20, 0.2) 50%, transparent 100%);
    max-width: 350px;
    position: relative;
}

.section-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 6px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(30px); opacity: 0.5; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 20px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card-solid), var(--bg-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-icon {
    font-size: 100px;
    color: var(--primary);
    opacity: 0.5;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(229, 9, 20, 0.1) 100%);
}

.image-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 16px;
    z-index: -1;
    transition: all var(--transition-normal);
}

.about-image:hover .image-frame {
    top: 20px;
    left: 20px;
}

.image-dots {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    padding: 20px 25px;
    text-align: center;
    z-index: 10;
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.about-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.4;
}

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

.about-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.highlight-content span {
    font-size: 13px;
    color: var(--text-muted);
}

.about-tech {
    margin-top: 30px;
}

.tech-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.tech-item i {
    color: var(--primary);
    font-size: 12px;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.experience {
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent-purple));
    transition: height 0.5s ease;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -50px;
    top: 30px;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.marker-pulse {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
    opacity: 0;
}

.timeline-item:hover .marker-pulse {
    animation: markerPulse 1s infinite;
}

@keyframes markerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.timeline-content {
    padding: 35px;
    transition: all var(--transition-normal);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(15px);
    border-color: var(--primary);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(229, 9, 20, 0.1);
}

.timeline-content:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.5);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.timeline-date i {
    color: var(--primary);
}

.timeline-type {
    padding: 4px 12px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 20px;
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-type.education {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-green);
}

.timeline-type.certification {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.timeline-title {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.timeline-company i {
    color: var(--primary);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: rgba(229, 9, 20, 0.1);
    color: var(--primary);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
    background: var(--bg-darker);
}

.skills-wrapper {
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.skill-category {
    padding: 35px;
    transition: all var(--transition-slow);
    position: relative;
}

.skill-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 3px;
}

.skill-category:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(229, 9, 20, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.skill-category:hover::after {
    width: 60%;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.skill-category:hover .category-icon {
    background: rgba(229, 9, 20, 0.2);
    transform: scale(1.1);
}

.category-title {
    font-size: 18px;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-name i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.skill-name span {
    font-size: 14px;
    color: var(--text-secondary);
}

.skill-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: width 1s ease;
}

/* Skills Stats */
.skills-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.skill-stat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 100px;
    text-align: left;
}

.skill-stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(40, 40, 40, 0.9));
}

@media (max-width: 1024px) {
    .skills-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.services .section-header p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services .netflix-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.services .netflix-card:hover {
    transform: translateY(-10px);
}

.services .netflix-card p {
    line-height: 1.6;
    margin-top: 12px;
}

.services .netflix-card .card-title {
    font-size: 18px;
    margin-bottom: 0;
}

.services .action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services .action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.services .action-btn i {
    font-size: 14px;
    color: white;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    border-color: var(--primary);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(229, 9, 20, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card.featured .project-image {
    aspect-ratio: auto;
    height: 100%;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card-solid), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.3;
    transition: all var(--transition-normal);
}

.project-card:hover .project-placeholder {
    opacity: 0.5;
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    background: var(--primary-light);
    transform: scale(1.1) !important;
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.project-card .project-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    transition: color var(--transition-fast);
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-card.featured .project-description {
    padding: 20px;
    margin-bottom: 20px;
}

.project-card .project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.project-tech span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Non-featured project cards */
.project-card:not(.featured) {
    display: flex;
    flex-direction: column;
}

.project-card:not(.featured) .project-header {
    padding: 30px;
    flex: 1;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.project-top > i {
    font-size: 40px;
    color: var(--primary);
}

.project-top .project-links {
    gap: 10px;
}

.project-top .project-links a {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    background: none;
    border-radius: 0;
    font-size: 20px;
    transform: none;
    opacity: 1;
    transition: color var(--transition-fast);
}

.project-top .project-links a:hover {
    color: var(--primary);
    background: none;
    transform: translateY(-3px) !important;
}

.project-card:not(.featured) .project-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.project-card:not(.featured) .project-description {
    font-size: 14px;
}

.project-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--glass-border);
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-darker);
}

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

.contact-subtitle {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 15px;
    color: var(--text-primary);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

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

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

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 12px;
    color: var(--primary);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

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

/* ============================================
   LEADERSHIP & VOLUNTEERING SECTION
   ============================================ */
.leadership {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.leadership-card {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.leadership-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.15);
}

.leadership-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.leadership-icon i {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.leadership-card:hover .leadership-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.leadership-card:hover .leadership-icon i {
    color: white;
}

.leadership-icon.volunteer {
    background: rgba(100, 181, 246, 0.1);
}

.leadership-icon.volunteer i {
    color: #64b5f6;
}

.leadership-card:hover .leadership-icon.volunteer {
    background: #64b5f6;
}

.leadership-content {
    position: relative;
}

.leadership-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.leadership-org {
    display: block;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.leadership-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.leadership-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leadership-points li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.leadership-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.leadership-points li:last-child {
    margin-bottom: 0;
}

/* Responsive Leadership */
@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .leadership-card {
        padding: 30px;
    }
    
    .leadership-title {
        font-size: 20px;
    }
    
    .leadership-icon {
        width: 60px;
        height: 60px;
    }
    
    .leadership-icon i {
        font-size: 26px;
    }
}

/* ============================================
   COMMUNITY HUB
   ============================================ */
.community {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.community-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* Guestbook */
.guestbook-container {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.guestbook-entries {
    height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guestbook-entry {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--netflix-red);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.entry-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guestbook-form input,
.guestbook-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.guestbook-form textarea {
    height: 80px;
    resize: vertical;
}

/* Sidebar (Newsletter & Stats) */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.newsletter-box, .stats-box {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.newsletter-box h3, .stats-box h3 {
    margin-bottom: 15px;
    color: var(--netflix-red);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-box p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #ccc;
}

.newsletter-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-box input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
    color: white;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-item .label {
    color: #aaa;
}

.stat-item .value {
    font-weight: bold;
    color: white;
}

/* Scrollbar for guestbook */
.guestbook-entries::-webkit-scrollbar {
    width: 6px;
}
.guestbook-entries::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.guestbook-entries::-webkit-scrollbar-thumb {
    background: var(--netflix-red);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(to top, #000000, #111111);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 80px; /* Increased bottom padding to clear Back to Top button */
    position: relative;
    overflow: hidden;
    z-index: 110; /* Cover fixed sidebars */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Brand Column */
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-logo .dot {
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
    font-size: 15px;
}

/* Links Column */
.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Social Column */
.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: center; /* Center align all content */
    align-items: center;
    gap: 20px; /* Add spacing between items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    color: var(--text-secondary);
    font-size: 14px;
}

.made-with i {
    color: var(--primary);
    animation: pulse 1.5s infinite;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 120; /* Ensure above footer */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
}

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

    /* Hide sidebars on smaller screens to prevent overlap */
    .social-sidebar,
    .email-sidebar {
        display: none;
    }
}


@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .project-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    a, button, input, textarea, select {
        cursor: auto;
    }
    
    .social-sidebar,
    .email-sidebar {
        display: none;
    }
    
    .hero-content {
        padding-left: 30px;
        text-align: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-line {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-category {
        padding: 25px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -30px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .sak-logo .letter {
        font-size: 60px;
    }
    
    .sak-logo {
        gap: 10px;
    }
    
    .loader-bar {
        width: 200px;
    }
}

/* ============================================
   NETFLIX UI ENHANCEMENTS
   ============================================ */

/* Netflix Buttons */
.btn-netflix-primary {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-netflix-primary:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.05);
    color: #000000;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.btn-netflix-secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
    backdrop-filter: blur(4px);
}

.btn-netflix-secondary:hover {
    background: rgba(109, 109, 110, 0.4);
    transform: scale(1.05);
    color: #ffffff;
}

/* Netflix Card Grid Layout */
.netflix-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 0;
    overflow: visible; /* Allow hover effects to show */
}

.netflix-card {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 4px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.5, 0, 0.1, 1), box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.netflix-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.netflix-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Hover Effects & Mobile Scroll Effects */
.netflix-card:hover,
.netflix-card.mobile-active {
    transform: scale(1.3);
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition-delay: 0.4s; /* Delay before expanding */
}

.netflix-card:hover .netflix-card-content,
.netflix-card.mobile-active .netflix-card-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s; /* Sync with expansion */
}

.netflix-card:hover .netflix-card-image,
.netflix-card.mobile-active .netflix-card-image {
    /* Optional: darken image slightly to make text pop */
    filter: brightness(0.6);
}

/* Hover Details */
.card-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(42,42,42,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    text-decoration: none; /* For anchor tags */
    cursor: pointer;
}

.action-btn:hover {
    border-color: white;
    background: white;
    color: black;
}

/* Netflix Play Button Style */
.action-btn.play-btn {
    background: white;
    border-color: white;
    color: black;
}

/* Expanded Card Styles (75% Screen) */
.netflix-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1) !important; /* Override hover scale */
    width: 75vw;
    height: 75vh;
    z-index: 10000;
    cursor: default;
    box-shadow: 0 0 50px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.5, 0, 0.1, 1);
}

/* Larger buttons in expanded view */
/* Larger buttons in expanded view */
.netflix-card.expanded .action-btn {
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    border-width: 3px !important;
    margin-right: 20px !important; /* More spacing */
}

.netflix-card.expanded .action-btn i {
    font-size: 24px !important;
}

.netflix-card.expanded .card-actions {
    margin-bottom: 20px;
}

.netflix-card.expanded .netflix-card-image {
    height: 40%;
    border-radius: 4px 4px 0 0;
}

.netflix-card.expanded .netflix-card-content {
    height: 60%;
    position: relative;
    transform: translateY(0);
    opacity: 1;
    background: #141414;
    overflow-y: auto;
    padding: 40px;
    justify-content: flex-start;
    border-radius: 0 0 4px 4px;
}

.netflix-card.expanded .card-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.netflix-card.expanded .card-desc {
    font-size: 18px;
    color: #e5e5e5;
    margin-bottom: 20px;
    -webkit-line-clamp: unset; /* Show full text */
    display: block;
}

.project-impact, .project-tech-stack-detail {
    display: none;
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 15px;
    line-height: 1.6;
}

.netflix-card.expanded .project-impact,
.netflix-card.expanded .project-tech-stack-detail {
    display: block;
    animation: fadeIn 0.5s ease 0.3s forwards;
    opacity: 0;
}

.netflix-card.expanded .project-impact strong,
.netflix-card.expanded .project-tech-stack-detail strong {
    color: var(--primary);
}

/* Backdrop */
.card-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.match-score {
    color: #46d369;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
}

.age-rating {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0 4px;
    font-size: 10px;
    color: white;
    margin-right: 10px;
}

.tech-badges {
    display: flex;
    gap: 5px;
    font-size: 10px;
    color: #fff;
}

.card-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 10px;
    color: #ccc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Title Netflix Style */
.netflix-section-title {
    font-size: 24px;
    color: #e5e5e5;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.2s;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    display: inline-block;
}

.netflix-section-title:hover {
    color: #fff;
}

/* Top 10 Badge - Refined */
.top-10-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    left: auto;
    width: 60px;
    height: 60px;
    background: #E50914;
    color: white;
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 20;
    transform: rotate(10deg);
    border: 2px solid white;
    border-radius: 50%;
}

.top-10-badge span {
    font-size: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet & Smaller Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
        --section-padding: 80px 0;
    }

    .hero-title .title-name {
        font-size: 80px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        display: none !important;
    }

    .netflix-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero-content {
        padding-left: 30px;
        text-align: center;
    }

    .hero-title .title-name {
        font-size: 60px;
    }

    .hero-stats {
        justify-content: center;
    }

    /* Sections */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    /* Services & Projects */
    .netflix-row {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    /* Mobile Card - Static Layout (Always Visible) */
    /* Mobile Card - Structured Stack Layout */
    .netflix-card {
        margin-bottom: 25px;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        background: #181818; /* Solid card background */
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        transform: none !important;
        transition: none;
        border: 1px solid #333;
    }

    .netflix-card:hover,
    .netflix-card.mobile-active {
        transform: none !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border: 1px solid #333;
        z-index: 1;
    }

    .netflix-card-image {
        height: 200px; /* Fixed height for image area */
        width: 100%;
        position: relative;
        flex-shrink: 0;
        filter: none; /* Full brightness */
    }

    .netflix-card-content {
        position: relative; /* Normal flow */
        width: 100%;
        height: auto;
        opacity: 1 !important;
        transform: none !important;
        background: #181818; /* Match card bg */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .card-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
        color: white;
    }

    .card-desc {
        font-size: 14px;
        color: #ddd;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .card-actions {
        margin-bottom: 10px;
    }

    .action-btn {
        width: 35px;
        height: 35px;
    }

    /* Hide unused mobile-active specific styles since we are always active */
    .netflix-card.mobile-active .netflix-card-content {
        background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.95) 60%, transparent 100%);
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 30px;
    }

    /* Hide Sidebars on Mobile */
    .social-sidebar,
    .email-sidebar {
        display: none;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title .title-name {
        font-size: 32px; /* Reduced from 48px to prevent overflow */
        letter-spacing: 1px;
        word-wrap: break-word; /* Ensure long names wrap */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .stat-item {
        min-width: 100px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .tech-list {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

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

/* ============================================
   PREMIUM ANIMATION UTILITIES
   ============================================ */

/* Reveal Animations */
.reveal {
    opacity: 1; /* Changed from 0 to 1 for safety */
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

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

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

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

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

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

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Text Shimmer Effect */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--text-primary) 0%,
        var(--primary) 50%,
        var(--text-primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Floating Animation */
.float {
    animation: floatAnimation 6s ease-in-out infinite;
}

/* Netflix Confirmation Modal */
.netflix-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.netflix-modal {
    background: #181818;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    animation: scaleIn 0.3s ease forwards;
    border: 1px solid #333;
}

.netflix-modal .modal-icon {
    font-size: 50px;
    color: #46d369; /* Netflix Green */
    margin-bottom: 20px;
}

.netflix-modal h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 24px;
}

.netflix-modal p {
    color: #b3b3b3;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Contact Form Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 400px; /* Match form height */
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.contact-form.success-state .form-content {
    display: none;
}

.contact-form.success-state .form-success {
    display: flex;
}

.contact-form.success-state {
    background: rgba(70, 211, 105, 0.15); /* Netflix Green tint */
    border-color: #46d369;
    box-shadow: 0 0 30px rgba(70, 211, 105, 0.2);
    transition: all 0.5s ease;
}

.form-success .success-icon {
    font-size: 60px;
    color: #46d369;
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
}

.form-success p {
    color: #ccc;
    font-size: 16px;
}

/* Glow Pulse */
.glow-pulse {
    animation: glowPulseAnim 2s ease-in-out infinite;
}

@keyframes glowPulseAnim {
    0%, 100% { box-shadow: 0 0 20px rgba(229, 9, 20, 0.3); }
    50% { box-shadow: 0 0 40px rgba(229, 9, 20, 0.6), 0 0 60px rgba(229, 9, 20, 0.3); }
}

/* Border Glow Animation */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent-purple), var(--accent-blue), var(--primary));
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.border-glow:hover::before {
    opacity: 1;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Noise Texture Overlay */
.noise-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.card-shine:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    z-index: 0;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), transparent, var(--accent-purple));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Focus Ring */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

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

/* Smooth Image Loading */
img {
    opacity: 1; /* Changed from 0 to 1 to ensure visibility */
    transition: opacity 0.5s ease;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Form Success State - Full Container */
.contact-form.success-state {
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Maintain height */
}

/* Hide all children when success state is active */
.contact-form.success-state > * {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show success message overlay */
.contact-form.success-state::before {
    content: 'Message Sent Successfully!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.95); /* Dark background */
    border: 2px solid #46d369; /* Green border */
    border-radius: 8px;
    color: #46d369; /* Green text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    z-index: 10;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease forwards;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 0 20px rgba(70, 211, 105, 0.2);
}    z-index: 10;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease forwards;
    border-radius: 8px;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left-color: #46d369; /* Netflix Green */
}

.notification-toast.error {
    border-left-color: #e50914; /* Netflix Red */
}
    opacity: 1;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 99999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* Print Styles */
@media print {
    .cursor,
    .cursor-follower,
    .social-sidebar,
    .email-sidebar,
    .navbar,
    .back-to-top,
    .loader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* GitHub Activity Styles */
.github-card { background: var(--bg-card); padding: 2rem; border-radius: 8px; text-align: center; margin-top: 2rem; }
.github-chart-container { overflow-x: auto; margin-bottom: 2rem; }
.github-chart { max-width: 100%; height: auto; min-height: 120px; border-radius: 4px; background: rgba(255,255,255,0.02); }
.github-stats { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.github-stat-card { background: rgba(255,255,255,0.05); padding: 1rem 2rem; border-radius: 8px; min-width: 120px; }
.stat-value { display: block; font-size: 1.8rem; font-weight: bold; color: #46d369; margin-bottom: 0.5rem; }
.stat-label { color: #b3b3b3; font-size: 0.9rem; }
.github-note { color: #666; font-size: 0.8rem; margin-top: 1rem; }

/* Custom GitHub Calendar Grid */
.github-calendar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    margin: 0 auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.months-label-row {
    display: flex;
    margin-bottom: 5px;
    margin-left: 30px; /* Offset for day labels */
    font-size: 10px;
    color: #ccc;
}

/* ============================================
   GITHUB CALENDAR (Library Overrides)
   ============================================ */
.calendar {
    font-family: var(--font-primary);
    border: none !important;
    min-height: 150px;
    width: 100%;
}

.calendar text {
    fill: #ccc !important; /* Axis labels */
    font-size: 10px;
}

/* Netflix Theme Colors for Contribution Levels */
.calendar .day[data-level="0"] { fill: rgba(255, 255, 255, 0.08) !important; }
.calendar .day[data-level="1"] { fill: #4f0000 !important; }
.calendar .day[data-level="2"] { fill: #800000 !important; }
.calendar .day[data-level="3"] { fill: #b30000 !important; }
.calendar .day[data-level="4"] { fill: #e50914 !important; }

/* Tooltip Styling */
.calendar .day:hover {
    stroke: #fff;
    stroke-width: 1px;
}

/* Responsive Container */
.js-calendar-graph-svg {
    width: 100%;
}

/* Hide the default footer from the library if it appears */
.calendar .contrib-footer {
    display: none;
}

.github-note {
    color: #999;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.calendar-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 20;
    border: 1px solid #333;
}

.calendar-day:hover .calendar-tooltip {
    opacity: 1;
}

/* Force Visibility for Projects */
.netflix-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Hero Stats Cards - Fixed Structure */
.hero-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    gap: 10px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stat-icon {
    font-size: 24px;
    color: var(--primary);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.stat-plus {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
