/* ============================================
   SANTANU JANA - DATA ANALYST PORTFOLIO
   Premium Dark Theme - Production Ready
   ============================================ */

/* ============================================
   1. ROOT & VARIABLES
   ============================================ */

:root {
    /* Color Palette */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #8c5cf6;
    --accent-color: #ff6b6b;
    --bg-dark: #0f0f1e;
    --bg-darker: #0a0a15;
    --bg-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-tertiary: #808090;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Light Theme Colors */
    --light-bg: #ffffff;
    --light-bg-secondary: #f5f5f7;
    --light-card: #ffffff;
    --light-text: #1a1a1a;
    --light-text-secondary: #666666;
    --light-border: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Sizing */
    --container-width: 1200px;
    --container-padding: 2rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);

    /* Z-index */
    --z-back: -1;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-notification: 400;
}

/* Light Theme */
body.light-theme {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f7;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* Light Theme - Gradient Mesh Override */
body.light-theme .gradient-mesh {
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(140, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 107, 0.15) 0%, transparent 50%);
}

/* Light Theme - Navbar Override */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   2. GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* ============================================
   3. CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
    width: 100%;
}

.section {
    padding: clamp(2rem, 8vw, 4rem) 0;
}

/* ============================================
   4. NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-sticky);
    transition: all var(--transition-normal);
    padding: 1.22rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

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

/* Logo Link */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all var(--transition-normal);
    font-size: 1.1rem;
    font-weight: 700;
    z-index: calc(var(--z-sticky) + 2);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.logo:hover .logo-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.logo-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

/* Light theme logo */
body.light-theme .logo-badge {
    box-shadow: 0 4px 15px rgba(0, 99, 204, 0.3);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-normal);
}

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

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

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: calc(var(--z-sticky) + 2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
    padding: 0.5rem;
    z-index: calc(var(--z-sticky) + 2);
}

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

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

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

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

.theme-toggle {
    width: 30px;
    height: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    outline: none !important;
}

.theme-toggle:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
    outline: none !important;
}

.theme-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.theme-toggle:active {
    transform: scale(0.95);
    outline: none !important;
}

.theme-toggle:focus-visible {
    outline: none !important;
}

/* ============================================
   5. HERO SECTION - PREMIUM CINEMATIC REDESIGN
   ============================================ */

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

/* Hero Background Layers */
.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(140, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    animation: meshShift 15s ease-in-out infinite;
}

@keyframes meshShift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.06;
    animation: particleFloat 20s infinite linear;
    pointer-events: none;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.08;
    }

    90% {
        opacity: 0.04;
    }

    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Light Beams */
.light-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.1;
    animation: beamFlow 8s infinite ease-in-out;
}

.beam-1 {
    left: 20%;
    animation-delay: 0s;
}

.beam-2 {
    left: 80%;
    animation-delay: 2s;
}

@keyframes beamFlow {

    0%,
    100% {
        opacity: 0.05;
    }

    50% {
        opacity: 0.15;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(0, 212, 255, 0.03) 25%, rgba(0, 212, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 212, 255, 0.03) 75%, rgba(0, 212, 255, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 212, 255, 0.03) 25%, rgba(0, 212, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 212, 255, 0.03) 75%, rgba(0, 212, 255, 0.03) 76%, transparent 77%, transparent);
    background-size: 60px 60px;
    opacity: 0.3;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

/* Hero Wrapper — fills available space, lets flex children size naturally */
.hero-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 3rem 0 1rem;
}

/* Hero Container - Two Column Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
}

/* Left Hero Section */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 3;
    animation: slideInLeft 1s ease 0.2s both;
}

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

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

/* Live Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    width: fit-content;
    animation: fadeInDown 0.8s ease 0.3s both;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 10px var(--primary-color);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 20px var(--primary-color);
        opacity: 0.7;
    }
}

.badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Hero Headline */
.hero-headline {
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
}

.headline-word {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite, fadeInUp 0.8s ease 0.4s both;
}

@keyframes gradientShift {

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

    50% {
        background-position: 100% 50%;
    }
}

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

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

.headline-word:nth-child(2) {
    animation-delay: 0.5s;
}

/* Subheadline */
.hero-subheadline {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.sub-prefix {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.skills-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.skill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* Dynamic Typing Text */
.dynamic-text {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 500;
    min-height: 2rem;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.7s both;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.typing-prefix {
    color: var(--primary-color);
    font-weight: 700;
}

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

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.5rem;
    background: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    49%,
    100% {
        opacity: 1;
    }

    50%,
    99% {
        opacity: 0;
    }
}

/* Hero Intro Text */
.hero-intro {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 100%;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
    width: 100%;
    justify-content: flex-start;
}

.btn.btn-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(0.75rem, 2vw, 1rem) 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    width: 200px;
    /* Uniform width for all buttons */
    justify-content: center;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    color: var(--bg-dark);
    border: 2px solid var(--primary-color);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary-hero:hover .btn-glow {
    opacity: 1;
}

.btn-secondary-hero {
    background: linear-gradient(135deg, var(--secondary-color), #6b3fd6);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.btn-secondary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(140, 92, 246, 0.4);
}

.btn-secondary-hero:hover .btn-glow {
    opacity: 1;
}

.btn-outline-hero {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-hero:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Right Hero Section - Dashboard */
.hero-right {
    position: relative;
    height: 600px;
    animation: slideInRight 1s ease 0.2s both;
}

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

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

/* Dashboard Container */
.dashboard-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Analytics Card */
.analytics-card {
    position: absolute;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    z-index: 4;
}

.analytics-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.analytics-card:hover .card-glow {
    opacity: 1;
}

/* Card Positions */
.card-1 {
    top: 5%;
    right: 5%;
    animation: floatCard1 4s ease-in-out infinite;
}

@keyframes floatCard1 {

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

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

.card-2 {
    top: 45%;
    left: 0;
    animation: floatCard2 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes floatCard2 {

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

    50% {
        transform: translateY(-40px) rotate(-2deg);
    }
}

.card-3 {
    bottom: 50%;
    right: 2%;
    animation: floatCard3 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes floatCard3 {

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

    50% {
        transform: translateY(-35px) rotate(1.5deg);
    }
}

.card-4 {
    bottom: 5%;
    left: 8%;
    animation: floatCard4 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes floatCard4 {

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

    50% {
        transform: translateY(-25px) rotate(-1.5deg);
    }
}

/* Card Icon */
.card-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.analytics-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Card Content */
.card-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0 0 0;
}

.card-value-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0.5rem 0 0 0;
}

.card-suffix {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Card Line */
.card-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    position: relative;
    z-index: 2;
}

/* Data Graph */
.data-graph {
    position: absolute;
    width: 80%;
    height: 60%;
    left: 10%;
    top: 20%;
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

.graph-line {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: drawLine 2s ease-in-out infinite;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 0.5;
    }

    100% {
        stroke-dashoffset: -1000;
        opacity: 0.3;
    }
}

/* Premium Scroll Indicator */
.premium-scroll {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 0 2rem;
    animation: fadeInDown 0.8s ease 1s both;
    flex-shrink: 0;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.scroll-animation {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scroll-animation span {
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

.scroll-animation span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-animation span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-animation span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDot {

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

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

/* Responsive Design - Desktop to Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-right {
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1rem;
    }

    .analytics-card {
        min-width: 140px;
        padding: 1rem;
        position: static !important;
        transform: none !important;
        animation: none !important;
        margin: 0.5rem;
        flex: 0 1 auto;
    }

    .card-icon {
        font-size: 1.8rem;
    }

    .card-value {
        font-size: 1.3rem;
    }

    .dashboard-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        height: auto;
        position: relative;
    }
}

/* Responsive Design - Tablet Optimization (992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .section {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 5vw, 3.2rem);
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn.btn-hero {
        padding: 0.8rem 1.4rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

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

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

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

    .contact-content {
        grid-template-columns: 1fr 1.3fr;
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* ── Hero Section ── */
    .hero {
        min-height: auto;
        padding: 0;
        margin-top: 70px;
    }

    .hero-wrapper {
        padding: 2rem 0 1rem;
        flex: 1;
        align-items: flex-start;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
    }

    .hero-left {
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .hero-subheadline {
        gap: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .skills-badges {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .skill-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }

    .dynamic-text {
        font-size: 1rem;
        min-height: auto;
        justify-content: center;
    }

    .hero-intro {
        font-size: 0.95rem;
        max-width: 500px;
    }

    .hero-buttons {
        gap: 0.7rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .btn.btn-hero {
        flex: 1 1 140px;
        max-width: 220px;
        padding: 0.75rem 1.1rem;
        font-size: 0.9rem;
        min-width: 0;
        justify-content: center;
    }

    .btn-content {
        gap: 0.5rem;
    }

    /* ── Live Badge — always visible, wraps text ── */
    .live-badge {
        display: inline-flex;
        justify-content: center;
        margin: 0 auto;
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
        max-width: 100%;
        gap: 0.6rem;
    }

    .badge-text {
        white-space: nowrap;
        font-size: clamp(0.65rem, 2.5vw, 0.78rem);
    }

    .pulse-dot {
        flex-shrink: 0;
    }

    /* ── Analytics dashboard — hide on mobile ── */
    .hero-right {
        display: none;
    }

    /* ── Keep background animations running on mobile ── */
    .gradient-mesh,
    .particle,
    .light-beam {
        animation-play-state: running;
    }

    .grid-overlay {
        background-size: 40px 40px;
        opacity: 0.15;
    }

    /* ── Scroll indicator ── */
    .premium-scroll {
        padding: 0.5rem 0 1.5rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    /* ── Navbar ── */
    .nav-actions {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    /* ── Section Titles ── */
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    /* ── Projects ── */
    .project-navigation {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .project-navigation::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
    }

    .project-card {
        min-height: auto;
    }

    .project-image {
        height: 160px;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    .project-content p {
        font-size: 0.875rem;
    }

    .tech-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .project-buttons {
        gap: 0.6rem;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .project-buttons .btn {
        flex: 1;
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
        min-width: 0;
        justify-content: center;
    }

    /* ── Skills ── */
    .skills-container {
        grid-template-columns: 1fr;
    }

    .skill-category:nth-child(1),
    .skill-category:nth-child(2),
    .skill-category:nth-child(3),
    .skill-category:nth-child(4) {
        grid-column: 1;
    }

    /* ── About ── */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* ── Experience ── */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ── Contact ── */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-card {
        padding: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.65rem 0.8rem;
        font-size: 1rem;
    }

    .download-resume-btn {
        width: 100%;
    }

    /* ── Footer — 2-column grid on mobile ── */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }

    /* ── Roadmap Progress Bar ── */
    .career-roadmap {
        padding: 2rem 1.2rem;
        margin-bottom: 2rem;
    }

    .roadmap-title {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
    }

    .roadmap-track {
        height: 6px;
        /* Sleek, thin track line instead of a thick capsule */
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 0 1rem;
        margin: 2.2rem 0 1.2rem;
        display: flex;
        align-items: center;
        overflow: visible;
        position: relative;
    }

    .roadmap-progress {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 6px;
        width: 60%;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.5), 0 0 30px rgba(140, 92, 246, 0.3);
    }

    .roadmap-milestones {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-width: 0;
        gap: 0;
        padding: 0;
    }

    .milestone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        flex: 1;
        min-width: 0;
    }

    .milestone-dot {
        width: 16px;
        height: 16px;
        border-width: 2.5px;
        flex-shrink: 0;
    }

    .milestone-label {
        font-size: 0.65rem;
        max-width: 58px;
        margin: 0 auto;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    /* ── Timeline ── */
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .learning-timeline {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .learning-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .learning-impact {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
}


/* Reduced motion — standalone (not nested) */
@media (prefers-reduced-motion: reduce) {

    .gradient-mesh,
    .particle,
    .light-beam,
    .grid-overlay {
        animation: none;
    }
}

/* ============================================
   6. BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #7c4ce8);
    color: white;
    box-shadow: 0 4px 15px rgba(140, 92, 246, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 92, 246, 0.5);
}

.btn-tertiary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-tertiary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-buttons .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* ============================================
   7. SECTION TITLES
   ============================================ */

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ============================================
   8. ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(140, 92, 246, 0.05));
}

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

.about-image {
    position: sticky;
    top: 100px;
}

.image-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transform: scale(1.05);
}

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

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-item span {
    font-size: 0.8rem;
    color: white;
}

.about-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-card h3 i {
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.roadmap-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.roadmap-list li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.roadmap-list li i {
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.roadmap-list li .fa-check-circle {
    color: #4caf50;
}

.roadmap-list li .fa-spinner {
    color: var(--primary-color);
}

.roadmap-list li .fa-clock {
    color: var(--text-tertiary);
}

/* ============================================
   9. SKILLS SECTION
   ============================================ */

.skills {
    background: linear-gradient(135deg, rgba(140, 92, 246, 0.05), rgba(0, 212, 255, 0.05));
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category:nth-child(1) {
    grid-column: 1;
}

.skill-category:nth-child(2) {
    grid-column: 2;
}

.skill-category:nth-child(3) {
    grid-column: 1;
}

.skill-category:nth-child(4) {
    grid-column: 2;
}

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-category:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

.category-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

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

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: var(--bg-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.skill-tag i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.skill-tag:hover i {
    transform: rotate(360deg);
}

/* ============================================
   10. PROJECTS SECTION - CINEMATIC STACKED PANELS
   ============================================ */

.projects {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(140, 92, 246, 0.05));
    overflow: hidden;
}

/* Category Navigation */
.project-navigation {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.category-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    outline: none !important;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.category-btn:hover .btn-glow {
    opacity: 0.2;
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: var(--bg-dark);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6),
        0 0 80px rgba(140, 92, 246, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

.category-btn.active .btn-glow {
    opacity: 1;
    animation: glowMove 3s linear infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6),
            0 0 80px rgba(140, 92, 246, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.8),
            0 0 100px rgba(140, 92, 246, 0.6),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes glowMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Panels Container */
.panels-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    perspective: 2000px;
}

/* Individual Panel */
.project-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.96);
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
}

/* Active Panel */
.project-panel.active {
    position: relative;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}

/* Stacked Background Panels */
.project-panel.stacked {
    position: absolute;
    opacity: 0.4;
    transform: translateX(0) scale(0.95) translateY(20px);
    filter: blur(3px);
    pointer-events: none;
    z-index: 5;
}

.project-panel.stacked-2 {
    opacity: 0.25;
    transform: translateX(0) scale(0.90) translateY(40px);
    filter: blur(5px);
    z-index: 4;
}

.project-panel.stacked-3 {
    opacity: 0.15;
    transform: translateX(0) scale(0.85) translateY(60px);
    filter: blur(7px);
    z-index: 3;
}

/* Exiting Panel */
.project-panel.exiting {
    opacity: 0;
    transform: translateX(100%) scale(0.96);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
}

.project-card:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3),
        0 0 40px rgba(140, 92, 246, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(2deg);
}

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

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

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

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

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tech-badge {
    background: var(--bg-card);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.project-card:hover .tech-badge {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-buttons .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* ============================================
   11. CERTIFICATIONS SECTION
   ============================================ */

.certifications {
    background: linear-gradient(135deg, rgba(140, 92, 246, 0.05), rgba(0, 212, 255, 0.05));
}

.timeline {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    animation: fadeInLeft 0.8s ease both;
}

.timeline-item:nth-child(even) {
    animation: fadeInRight 0.8s ease both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.timeline-date {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Premium Learning Journey */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.subsection-title i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.career-roadmap {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.career-roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.roadmap-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.roadmap-track {
    position: relative;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    overflow: visible;
}

.roadmap-progress {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    width: 60%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(140, 92, 246, 0.4);
    transition: width 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(140, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(140, 92, 246, 0.6);
    }
}

.roadmap-milestones {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.milestone.completed .milestone-dot {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

.milestone.active .milestone-dot {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(140, 92, 246, 0.6);
    animation: dotPulse 2s ease-in-out infinite 0.5s;
}

@keyframes dotPulse {

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

    50% {
        transform: scale(1.2);
    }
}

.milestone-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.milestone.completed .milestone-label,
.milestone.active .milestone-label {
    color: var(--primary-color);
    font-weight: 600;
}

.learning-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.learning-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(140, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.learning-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 0 0 40px rgba(140, 92, 246, 0.2);
}

.learning-card:hover::before {
    opacity: 1;
}

.card-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.card-status.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.card-status.ongoing {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.card-status.active {
    background: rgba(140, 92, 246, 0.2);
    color: var(--secondary-color);
    border: 1px solid rgba(140, 92, 246, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.learning-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

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

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-pill {
    padding: 0.4rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.learning-card:hover .skill-pill {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.learning-card:hover .card-glow {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.learning-impact {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.learning-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(140, 92, 246, 0.05));
}

.impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    animation: floatIcon 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-10px);
    }
}

.impact-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Journey section mobile rules are covered in the main @media (max-width: 768px) block above */

/* ============================================
   12. EXPERIENCE SECTION
   ============================================ */

.experience {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(140, 92, 246, 0.05));
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.experience-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.experience-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exp-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.exp-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.exp-company {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.exp-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.exp-highlights {
    list-style: none;
}

.exp-highlights li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.exp-highlights li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   13. CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, rgba(140, 92, 246, 0.05), rgba(0, 212, 255, 0.05));
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 0.1;
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: -5px 10px 30px rgba(0, 212, 255, 0.3);
}

.contact-card>* {
    position: relative;
    z-index: 1;
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: block;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: block;
    line-height: 1.5;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.download-resume-btn {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.download-resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
    color: #ffffff !important;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: all var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-error {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error.show {
    display: block;
}

.error-message {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-status {
    text-align: center;
    font-weight: 600;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-status.error {
    display: block;
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* ============================================
   14. FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, rgba(10, 10, 21, 0.98) 0%, rgba(15, 15, 30, 0.95) 100%);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

body.light-theme .footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.footer-logo-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-brand h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

body.light-theme .footer-brand h3 {
    color: #212529;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

body.light-theme .footer-brand p {
    color: #6c757d;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.footer-social a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

body.light-theme .footer-social a {
    background: white;
    border-color: #dee2e6;
    color: #495057;
}

.footer-social a:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover i {
    transform: scale(1.2) rotate(10deg);
}

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

.footer-column h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

body.light-theme .footer-column h4 {
    color: #212529;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.light-theme .footer-column ul li a {
    color: #495057;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-column ul li a i {
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

body.light-theme .footer-bottom {
    border-top: 1px solid #dee2e6;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
}

body.light-theme .footer-bottom p {
    color: #6c757d;
}

.footer-bottom i {
    color: var(--accent-color);
}

/* ============================================
   15. BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {

    /* Navigation */
    .mobile-menu-toggle {
        display: flex !important;
        width: auto;
        height: auto;
        min-width: 44px;
        min-height: 44px;
        padding: 0.6rem;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2.5px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(15, 15, 30, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 0;
        transition: left var(--transition-normal);
        overflow-y: auto;
        z-index: calc(var(--z-sticky) - 1);
    }

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

    .nav-menu .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }



    .hero-stats {
        gap: 2rem;
    }

    .floating-card {
        display: none;
    }

    /* Footer — back-to-top sizing */

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {

    /* Container */
    .container {
        padding: 0 clamp(0.75rem, 1.5vw, 1.25rem);
        width: 100%;
    }

    /* Section */
    .section {
        padding: clamp(1.5rem, 5vw, 3rem) 0;
    }

    /* Navigation */
    .navbar {
        height: 60px;
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .logo-name {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
    }

    .logo-badge {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    /* Hero — correct top offset, no forced vh on this breakpoint */
    .hero {
        margin-top: 60px;
        min-height: auto;
        padding: 0;
    }

    .hero-wrapper {
        padding: 1.5rem 0 0.5rem;
    }

    .hero-headline {
        font-size: clamp(1.3rem, 6vw, 2.2rem);
        letter-spacing: -1px;
    }

    .live-badge {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .hero-left {
        gap: 1rem;
    }

    .hero-subheadline {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .sub-prefix {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }

    .skill-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .dynamic-text {
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        letter-spacing: 0.5px;
    }

    .typing-prefix {
        display: none;
    }

    .hero-intro {
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.8rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .btn.btn-hero {
        width: auto;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 0;
        justify-content: center;
    }

    .hero-right {
        display: none;
    }

    /* Section Titles */
    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .subsection-title {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    }

    /* Projects */
    .project-navigation {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
    }

    .category-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

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

    .project-image {
        height: 120px;
    }

    .project-content {
        padding: 1rem;
        gap: 0.6rem;
    }

    .project-content h3 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .project-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .tech-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .project-buttons {
        gap: 0.5rem;
        flex-direction: column;
    }

    .project-buttons .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    /* Career Roadmap Mobile Fixes */
    .career-roadmap {
        padding: 1.5rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .roadmap-track {
        min-width: 600px;
        /* Increase area on mobile for scrolling */
        padding: 0 1.5rem;
    }

    /* Skills */
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .skill-category {
        padding: 1rem;
        gap: 0.8rem;
    }

    .category-header {
        gap: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .category-icon {
        font-size: 1.2rem;
    }

    .category-header h3 {
        font-size: 0.95rem;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }

    .skill-tag i {
        font-size: 0.85rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .about-card {
        padding: 1rem;
    }

    .about-card h3 {
        font-size: 1rem;
    }

    .about-card p {
        font-size: 0.85rem;
    }

    /* Experience */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .experience-card {
        padding: 1rem;
    }

    .exp-header h3 {
        font-size: 1rem;
    }

    .exp-description {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card p,
    .contact-card a {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1.2rem;
        gap: 1rem;
    }

    .contact-form h3 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.75rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .download-resume-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    /* Timeline */
    .timeline {
        gap: 1.5rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 0.95rem;
    }

    .timeline-subtitle {
        font-size: 0.85rem;
    }

    .milestone-label {
        font-size: 0.6rem;
    }

    .learning-card {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .skill-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }

    .learning-impact {
        flex-direction: column;
        padding: 1.2rem;
        gap: 1rem;
    }

    .impact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .impact-text {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-logo-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-brand h3 {
        font-size: 1.1rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer-social {
        gap: 0.75rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        grid-column: 1 / -1;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column ul li a {
        font-size: 0.8rem;
    }
}

/* ============================================
   EXTRA SMALL DEVICES - 360px (Infinix GT 10 Pro)
   ============================================ */

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

    .section {
        padding: clamp(1.2rem, 4vw, 2.5rem) 0;
    }

    .navbar {
        height: 55px;
    }

    .logo-name {
        font-size: 0.75rem;
    }

    .logo-badge {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .nav-actions {
        gap: 0.3rem;
    }

    .theme-toggle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 1.8px;
    }

    .hero {
        min-height: auto;
        padding: 1.5rem 0;
        margin-top: 55px;
    }

    .hero-wrapper {
        padding: 1rem 0 0.5rem;
    }

    .premium-scroll {
        padding: 0.5rem 0 1rem;
    }

    .hero-headline {
        font-size: clamp(1.2rem, 5.5vw, 1.8rem);
        letter-spacing: -0.5px;
    }

    .live-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.65rem;
        gap: 0.5rem;
    }

    .badge-text {
        font-size: 0.6rem;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
    }

    .hero-left {
        gap: 0.8rem;
    }

    .hero-subheadline {
        gap: 0.4rem;
    }

    .sub-prefix {
        font-size: 0.8rem;
    }

    .skill-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .dynamic-text {
        font-size: 0.8rem;
        letter-spacing: 0px;
    }

    .hero-intro {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .hero-buttons {
        gap: 0.6rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .btn.btn-hero {
        padding: 0.6rem clamp(0.8rem, 1.5vw, 1rem);
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    }

    .subsection-title {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .project-navigation {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .projects-grid {
        gap: 1rem;
    }

    .project-image {
        height: 100px;
    }

    .project-content {
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .project-content h3 {
        font-size: 0.9rem;
    }

    .project-content p {
        font-size: 0.75rem;
    }

    .tech-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .project-buttons {
        gap: 0.4rem;
    }

    .project-buttons .btn {
        font-size: 0.7rem;
        padding: 0.45rem 0.7rem;
    }

    .skill-category {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .category-header {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .category-icon {
        font-size: 1rem;
    }

    .category-header h3 {
        font-size: 0.85rem;
    }

    .skill-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        gap: 0.2rem;
    }

    .about-card {
        padding: 0.8rem;
    }

    .about-card h3 {
        font-size: 0.95rem;
    }

    .about-card p {
        font-size: 0.8rem;
    }

    .experience-card {
        padding: 0.8rem;
    }

    .exp-header h3 {
        font-size: 0.95rem;
    }

    .exp-description {
        font-size: 0.8rem;
    }

    .contact-card {
        padding: 0.8rem;
    }

    .contact-card h3 {
        font-size: 0.95rem;
    }

    .contact-card p,
    .contact-card a {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 1rem;
        gap: 0.8rem;
    }

    .contact-form h3 {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.55rem 0.7rem;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .download-resume-btn {
        font-size: 0.8rem;
        padding: 0.55rem 0.9rem;
    }

    .timeline-marker {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 0.8rem;
    }

    .timeline-content h3 {
        font-size: 0.9rem;
    }

    .timeline-subtitle {
        font-size: 0.8rem;
    }

    .learning-card {
        padding: 1rem;
        gap: 0.6rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-description {
        font-size: 0.8rem;
    }

    .skill-pill {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .learning-impact {
        padding: 1rem;
        gap: 0.8rem;
    }

    .impact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .impact-text {
        font-size: 0.85rem;
    }

    .footer {
        padding: 1.5rem 0 0.8rem;
    }

    .footer-logo-badge {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-brand h3 {
        font-size: 1rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
    }

    .footer-social {
        gap: 0.6rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 1.2rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .footer-column ul li a {
        font-size: 0.75rem;
    }
}

/* ============================================
   MINIMUM DEVICES - 320px
   ============================================ */

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

    .section {
        padding: clamp(1rem, 3vw, 2rem) 0;
    }

    .navbar {
        height: 50px;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    .logo-name {
        display: none;
    }

    .logo-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .nav-actions {
        gap: 0.25rem;
    }

    .theme-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .mobile-menu-toggle span {
        width: 16px;
        height: 1.5px;
    }

    .hero {
        min-height: 100vh;
        padding: 0.8rem 0;
        margin-top: 50px;
    }

    .hero-headline {
        font-size: clamp(1.1rem, 5vw, 1.6rem);
        letter-spacing: 0px;
    }

    .live-badge {
        padding: 0.4rem 0.6rem;
        font-size: 0.6rem;
        gap: 0.4rem;
        display: none;
    }

    .hero-left {
        gap: 0.6rem;
    }

    .hero-subheadline {
        gap: 0.3rem;
    }

    .sub-prefix {
        font-size: 0.75rem;
    }

    .skill-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }

    .dynamic-text {
        font-size: 0.75rem;
        min-height: auto;
    }

    .hero-intro {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .hero-buttons {
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .btn.btn-hero {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .btn-content {
        gap: 0.3rem;
    }

    .btn-content span {
        display: none;
    }

    .btn-content i {
        display: inline;
    }

    .section-title {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .subsection-title {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    }

    .project-navigation {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .projects-grid {
        gap: 0.8rem;
    }

    .project-image {
        height: 80px;
    }

    .project-content {
        padding: 0.6rem;
        gap: 0.4rem;
    }

    .project-content h3 {
        font-size: 0.85rem;
        margin: 0;
    }

    .project-content p {
        display: none;
    }

    .tech-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
        display: none;
    }

    .project-buttons {
        gap: 0.3rem;
        flex-direction: row;
    }

    .project-buttons .btn {
        flex: 1;
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
        gap: 0.2rem;
    }

    .skill-category {
        padding: 0.7rem;
        gap: 0.5rem;
    }

    .category-header {
        gap: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .category-icon {
        font-size: 0.9rem;
    }

    .category-header h3 {
        font-size: 0.8rem;
    }

    .skill-tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .skill-tag i {
        display: none;
    }

    .about-card {
        padding: 0.7rem;
    }

    .about-card h3 {
        font-size: 0.9rem;
    }

    .about-card p {
        font-size: 0.75rem;
    }

    .experience-card {
        padding: 0.7rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .exp-header h3 {
        font-size: 0.9rem;
    }

    .exp-date {
        font-size: 0.7rem;
    }

    .exp-description {
        font-size: 0.75rem;
    }

    .contact-card {
        padding: 0.7rem;
    }

    .contact-card h3 {
        font-size: 0.9rem;
    }

    .contact-card p,
    .contact-card a {
        font-size: 0.75rem;
    }

    .contact-form {
        padding: 0.8rem;
        gap: 0.7rem;
    }

    .contact-form h3 {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .download-resume-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .timeline-marker {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .timeline-content {
        padding: 0.7rem;
    }

    .timeline-content h3 {
        font-size: 0.85rem;
    }

    .timeline-subtitle {
        font-size: 0.75rem;
    }

    .learning-card {
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-description {
        font-size: 0.75rem;
    }

    .skill-pill {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .learning-impact {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .impact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .impact-text {
        font-size: 0.8rem;
    }

    .footer {
        padding: 1.2rem 0 0.6rem;
    }

    .footer-logo-badge {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .footer-brand h3 {
        font-size: 0.95rem;
    }

    .footer-brand p {
        font-size: 0.7rem;
    }

    .footer-social {
        gap: 0.5rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-column h4 {
        font-size: 0.85rem;
    }

    .footer-column ul li a {
        font-size: 0.7rem;
    }
}

/* Typing Animation */
.typing-animation::after {
    content: attr(data-text);
    animation: typing 4s steps(40, end) infinite;
}

@keyframes typing {

    0%,
    100% {
        content: '';
    }

    5% {
        content: 'D';
    }

    10% {
        content: 'Da';
    }

    15% {
        content: 'Dat';
    }

    20% {
        content: 'Data';
    }

    25% {
        content: 'Data ';
    }

    30% {
        content: 'Data A';
    }

    35% {
        content: 'Data An';
    }

    40% {
        content: 'Data Ana';
    }

    45% {
        content: 'Data Anal';
    }

    50% {
        content: 'Data Analy';
    }

    55% {
        content: 'Data Analys';
    }

    60% {
        content: 'Data Analysi';
    }

    65% {
        content: 'Data Analysis';
    }

    75% {
        content: 'Data Analysis';
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Smooth Transitions */
a,
button {
    transition: all var(--transition-normal);
}

/* Utility Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.gradient-border {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    border: 2px solid transparent;
}

/* Print Styles */
@media print {

    .navbar,
    .back-to-top,
    .scroll-indicator {
        display: none;
    }
}

/* ================================
   CUSTOM FUTURISTIC CURSOR
   Matches dark premium portfolio theme
================================ */

/* Hide default browser cursor */
body {
    cursor: none;
}

/* Small glowing center dot */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: #00f7ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px #00f7ff;
}

/* Outer animated glow ring */
.cursor-outline {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(0, 247, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
    box-shadow:
        0 0 20px rgba(0, 247, 255, 0.35),
        inset 0 0 10px rgba(0, 247, 255, 0.15);
    backdrop-filter: blur(4px);
}

/* Expand cursor when hovering interactive elements */
a:hover~.cursor-outline,
button:hover~.cursor-outline {
    transform: translate(-50%, -50%) scale(1.6);
}

/* Disable custom cursor on mobile/touch devices */
@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }
}