/* ============================================
   Variables & Reset
============================================ */
:root {
    --primary-color: #6c5ce7;
    --primary-dark: #5b4cdb;
    --secondary-color: #00cec9;
    --accent-color: #fd79a8;
    --dark-color: #0a0a0a;
    --dark-light: #1a1a2e;
    --dark-medium: #16213e;
    --text-color: #e4e4e4;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Theme-specific variables (Dark mode - default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: #1a1a2e;
    --text-primary: #e4e4e4;
    --text-secondary: #a0a0a0;
    --border-color: rgba(108, 92, 231, 0.2);
    --navbar-bg: rgba(10, 10, 10, 0.95);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --border-color: rgba(108, 92, 231, 0.15);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Custom Cursor
============================================ */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0.5;
}

.cursor.hover {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary-color);
}

/* ============================================
   Loader Premium
============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.loader.hidden {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.loader.hidden .loader-content {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
}

.loader.hidden .loader-bg-pattern {
    opacity: 0;
}

/* Background Pattern */
.loader-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 201, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(253, 121, 168, 0.05) 0%, transparent 40%);
    transition: opacity 0.8s ease;
}

/* Curtain Effect - Visible only when closing */
.loader-curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), z-index 0s linear 0s;
}

.loader.hidden .loader-curtain {
    z-index: 10;
}

.loader-curtain-left {
    left: 0;
    background: var(--bg-primary);
}

.loader-curtain-right {
    right: 0;
    background: var(--bg-primary);
}

/* Main Content */
.loader-content {
    position: relative;
    z-index: 5;
    text-align: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Container with Rings */
.loader-logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
}

.loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: ringRotate 2s linear infinite;
}

.loader-ring-2 {
    width: 80%;
    height: 80%;
    border-top-color: var(--secondary-color);
    animation: ringRotate 1.5s linear infinite reverse;
}

.loader-ring-3 {
    width: 60%;
    height: 60%;
    border-top-color: var(--accent-color);
    animation: ringRotate 1s linear infinite;
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Logo */
.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.loader-svg {
    width: 100%;
    height: 100%;
}

.loader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    fill: url(#loaderGradient);
    animation: letterPulse 1.5s ease-in-out infinite;
}

.loader-circle {
    fill: none;
    stroke: url(#loaderGradient);
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: circleStroke 2.5s ease-in-out infinite;
}

@keyframes letterPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes circleStroke {
    0% {
        stroke-dashoffset: 283;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -283;
    }
}

/* Text Section */
.loader-text-section {
    margin-bottom: 40px;
}

.loader-greeting {
    margin-bottom: 10px;
    overflow: hidden;
}

.greeting-text {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Name Letters */
.loader-name {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.name-letter {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    animation: letterReveal 0.6s ease-out forwards;
}

.name-letter:nth-child(1) {
    animation-delay: 0.4s;
}

.name-letter:nth-child(2) {
    animation-delay: 0.45s;
}

.name-letter:nth-child(3) {
    animation-delay: 0.5s;
}

.name-letter:nth-child(4) {
    animation-delay: 0.55s;
}

.name-letter:nth-child(5) {
    animation-delay: 0.6s;
}

.name-letter:nth-child(6) {
    animation-delay: 0.65s;
}

.name-letter:nth-child(7) {
    animation-delay: 0.7s;
}

.name-letter:nth-child(8) {
    animation-delay: 0.75s;
}

.name-letter:nth-child(9) {
    animation-delay: 0.8s;
}

.name-letter:nth-child(10) {
    animation-delay: 0.85s;
}

.name-letter:nth-child(11) {
    animation-delay: 0.9s;
}

.name-letter:nth-child(12) {
    animation-delay: 0.95s;
}

.name-letter:nth-child(13) {
    animation-delay: 1s;
}

.name-letter:nth-child(14) {
    animation-delay: 1.05s;
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Progress Section */
.loader-progress-section {
    width: 300px;
    margin: 0 auto;
}

.loader-bar {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loader-bar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.loader-progress {
    position: relative;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.loader-bar-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.loader-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loader-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.loader-counter {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

.loader-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.loader-particle:nth-child(2) {
    left: 25%;
    top: 70%;
    animation-delay: 0.5s;
}

.loader-particle:nth-child(3) {
    left: 45%;
    top: 15%;
    animation-delay: 1s;
}

.loader-particle:nth-child(4) {
    left: 60%;
    top: 80%;
    animation-delay: 1.5s;
}

.loader-particle:nth-child(5) {
    left: 75%;
    top: 30%;
    animation-delay: 2s;
}

.loader-particle:nth-child(6) {
    left: 85%;
    top: 60%;
    animation-delay: 2.5s;
}

.loader-particle:nth-child(7) {
    left: 15%;
    top: 85%;
    animation-delay: 3s;
}

.loader-particle:nth-child(8) {
    left: 90%;
    top: 10%;
    animation-delay: 3.5s;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    25% {
        opacity: 0.8;
        transform: translateY(-30px) scale(1);
    }

    50% {
        opacity: 0.4;
        transform: translateY(-60px) scale(0.8);
    }

    75% {
        opacity: 0.2;
        transform: translateY(-90px) scale(0.5);
    }
}

/* Legacy loader-text support */
.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ============================================
   Navigation
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-text {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    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%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Theme Toggle Button
============================================ */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    overflow: hidden;
    margin-right: 20px;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.theme-toggle .fa-moon {
    color: var(--primary-color);
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .fa-sun {
    color: #ffc107;
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg);
}

/* ============================================
   Style Selector
============================================ */
.style-selector {
    position: relative;
    margin-right: 15px;
}

.style-toggle {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.style-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.style-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.style-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.style-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.style-option:hover {
    background: var(--bg-tertiary);
}

.style-option.active {
    background: var(--primary-color);
    color: var(--white);
}

.style-preview {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.default-preview {
    background: linear-gradient(135deg, #6c5ce7, #00cec9);
}

.cartoon-preview {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.neon-preview {
    background: linear-gradient(135deg, #00ff87, #60efff);
}

.nature-preview {
    background: linear-gradient(135deg, #56ab2f, #a8e6cf);
}

/* ============================================
   Cartoon Style Theme - ULTRA CARTOON! 🎪
============================================ */
[data-style="cartoon"] {
    --primary-color: #ff6b6b;
    --primary-dark: #ee5a5a;
    --secondary-color: #feca57;
    --accent-color: #5f27cd;
    --gradient-primary: linear-gradient(135deg, #ff6b6b, #feca57);
    --gradient-accent: linear-gradient(135deg, #5f27cd, #ff6b6b);
    --border-radius: 25px;
    --border-radius-lg: 35px;
    --cartoon-border: 5px solid #222;
    --cartoon-shadow: 8px 8px 0 #222;
}

/* Cartoon Font Override */
[data-style="cartoon"] body {
    font-family: 'Comic Sans MS', 'Poppins', cursive, sans-serif;
}

[data-style="cartoon"] .navbar {
    border-bottom: 5px solid #222;
}

[data-style="cartoon"] .navbar.scrolled {
    border-bottom: 5px solid #222;
    box-shadow: 0 8px 0 var(--primary-color);
}

[data-style="cartoon"] .logo-text {
    font-size: 2.5rem;
    -webkit-text-stroke: 3px #222;
    text-shadow: 4px 4px 0 var(--secondary-color);
    letter-spacing: 2px;
}

[data-style="cartoon"] .nav-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

[data-style="cartoon"] .nav-link:hover {
    transform: scale(1.1) rotate(-2deg);
    color: var(--primary-color);
}

[data-style="cartoon"] .nav-link::after {
    height: 4px;
    border-radius: 2px;
}

/* Cartoon Buttons - Super Punchy! */
[data-style="cartoon"] .btn-primary {
    border-radius: 50px;
    border: 5px solid #222;
    box-shadow: 6px 6px 0 #222;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

[data-style="cartoon"] .btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

[data-style="cartoon"] .btn-primary:hover::before {
    transform: translateX(100%);
}

[data-style="cartoon"] .btn-primary:hover {
    transform: translate(4px, 4px) rotate(-1deg);
    box-shadow: 2px 2px 0 #222;
}

[data-style="cartoon"] .btn-primary:active {
    transform: translate(6px, 6px);
    box-shadow: 0 0 0 #222;
}

[data-style="cartoon"] .btn-secondary {
    border-radius: 50px;
    border: 5px solid var(--primary-color);
    box-shadow: 6px 6px 0 var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
}

[data-style="cartoon"] .btn-secondary:hover {
    transform: translate(4px, 4px) rotate(1deg);
    box-shadow: 2px 2px 0 var(--primary-color);
}

/* Cartoon Cards - Comic Book Style! */
[data-style="cartoon"] .skill-card,
[data-style="cartoon"] .project-card,
[data-style="cartoon"] .service-card,
[data-style="cartoon"] .blog-card,
[data-style="cartoon"] .testimonial-content {
    border: 5px solid #222;
    box-shadow: 10px 10px 0 #222;
    border-radius: 25px;
    position: relative;
    transition: all 0.2s ease;
}

[data-style="cartoon"] .skill-card::before,
[data-style="cartoon"] .project-card::before,
[data-style="cartoon"] .service-card::before,
[data-style="cartoon"] .blog-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border: 3px solid #222;
    border-radius: 50%;
    z-index: 10;
}

[data-style="cartoon"] .skill-card:hover,
[data-style="cartoon"] .project-card:hover,
[data-style="cartoon"] .service-card:hover,
[data-style="cartoon"] .blog-card:hover {
    transform: translate(5px, 5px) rotate(-1deg);
    box-shadow: 5px 5px 0 #222;
}

/* Cartoon Section Titles - POW! */
[data-style="cartoon"] .section-title {
    -webkit-text-stroke: 3px #222;
    text-shadow: 5px 5px 0 var(--primary-color), 8px 8px 0 var(--secondary-color);
    letter-spacing: 3px;
    transform: rotate(-1deg);
}

[data-style="cartoon"] .section-tag {
    background: var(--secondary-color);
    border: 4px solid #222;
    box-shadow: 4px 4px 0 #222;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(2deg);
}

[data-style="cartoon"] .section-tag::before,
[data-style="cartoon"] .section-tag::after {
    display: none;
}

/* Cartoon Hero - Main Character! */
[data-style="cartoon"] .hero-title .name {
    -webkit-text-stroke: 4px #222;
    text-shadow: 6px 6px 0 var(--primary-color), 10px 10px 0 var(--secondary-color), 14px 14px 0 #222;
    letter-spacing: 4px;
    animation: cartoonBounce 2s ease-in-out infinite;
}

@keyframes cartoonBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.02) rotate(-1deg);
    }

    75% {
        transform: scale(0.98) rotate(1deg);
    }
}

[data-style="cartoon"] .hero-subtitle {
    background: var(--secondary-color);
    border: 3px solid #222;
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 4px 4px 0 #222;
    font-weight: 700;
    color: #222;
}

[data-style="cartoon"] .hero-description {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Cartoon Shapes - Bouncy! */
[data-style="cartoon"] .shape {
    border: 5px dashed var(--primary-color);
    background: var(--secondary-color) !important;
    opacity: 0.6;
    animation: cartoonFloat 3s ease-in-out infinite;
}

[data-style="cartoon"] .shape-1 {
    animation-delay: 0s;
}

[data-style="cartoon"] .shape-2 {
    animation-delay: 0.5s;
}

[data-style="cartoon"] .shape-3 {
    animation-delay: 1s;
}

[data-style="cartoon"] .shape-4 {
    animation-delay: 1.5s;
}

@keyframes cartoonFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-30px) rotate(10deg) scale(1.1);
    }
}

/* Cartoon Image Container */
[data-style="cartoon"] .image-container {
    border: 6px solid #222;
    border-radius: 30px;
    box-shadow: 12px 12px 0 #222;
    overflow: hidden;
}

[data-style="cartoon"] .image-placeholder {
    border-radius: 25px;
}

[data-style="cartoon"] .image-decoration {
    border: 5px dashed var(--secondary-color);
}

/* Cartoon Form */
[data-style="cartoon"] .contact-form {
    border: 5px solid #222;
    box-shadow: 12px 12px 0 #222;
    border-radius: 30px;
}

[data-style="cartoon"] .form-group input,
[data-style="cartoon"] .form-group textarea {
    border: none;
    border-bottom: 4px solid #222;
    font-weight: 600;
}

[data-style="cartoon"] .form-group input:focus,
[data-style="cartoon"] .form-group textarea:focus {
    border-bottom-color: var(--primary-color);
}

/* Cartoon Timeline */
[data-style="cartoon"] .timeline::before {
    width: 6px;
    background: #222;
}

[data-style="cartoon"] .timeline-content {
    border: 4px solid #222;
    box-shadow: 8px 8px 0 #222;
    border-radius: 20px;
}

[data-style="cartoon"] .timeline-dot {
    width: 24px;
    height: 24px;
    border: 4px solid #222;
    left: -42px;
}

[data-style="cartoon"] .timeline-date {
    border: 3px solid #222;
    box-shadow: 3px 3px 0 #222;
}

/* Cartoon Social Links */
[data-style="cartoon"] .social-link {
    border: 4px solid #222;
    box-shadow: 5px 5px 0 #222;
    font-size: 1.3rem;
}

[data-style="cartoon"] .social-link:hover {
    transform: translate(3px, 3px) rotate(-5deg) scale(1.1);
    box-shadow: 2px 2px 0 #222;
}

/* Cartoon Experience Badge */
[data-style="cartoon"] .experience-badge {
    border: 4px solid #222;
    box-shadow: 6px 6px 0 #222;
    border-radius: 20px;
}

/* Cartoon Skill Icons */
[data-style="cartoon"] .skill-icon,
[data-style="cartoon"] .service-icon {
    border: 4px solid #222;
    box-shadow: 4px 4px 0 #222;
}

/* Cartoon Filter Buttons */
[data-style="cartoon"] .filter-btn {
    border: 4px solid #222;
    box-shadow: 4px 4px 0 #222;
    font-weight: 700;
    text-transform: uppercase;
}

[data-style="cartoon"] .filter-btn:hover,
[data-style="cartoon"] .filter-btn.active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #222;
}

/* Cartoon Loader */
[data-style="cartoon"] .loader-text {
    -webkit-text-stroke: 3px #222;
    text-shadow: 5px 5px 0 var(--secondary-color);
    animation: cartoonBounce 1s ease-in-out infinite;
}

[data-style="cartoon"] .loader-bar {
    border: 4px solid #222;
    border-radius: 50px;
    overflow: hidden;
}

/* Cartoon Footer */
[data-style="cartoon"] .footer {
    border-top: 6px solid #222;
}

[data-style="cartoon"] .footer-logo {
    -webkit-text-stroke: 2px #222;
    text-shadow: 4px 4px 0 var(--secondary-color);
}

/* Cartoon Scroll Indicator */
[data-style="cartoon"] .scroll-indicator .mouse {
    border: 4px solid #222;
    box-shadow: 4px 4px 0 #222;
}

/* ============================================
   Neon Style Theme
============================================ */
[data-style="neon"] {
    --primary-color: #00ff87;
    --primary-dark: #00cc6a;
    --secondary-color: #60efff;
    --accent-color: #ff00ff;
    --gradient-primary: linear-gradient(135deg, #00ff87, #60efff);
    --gradient-accent: linear-gradient(135deg, #ff00ff, #00ff87);
    --shadow-glow: 0 0 40px rgba(0, 255, 135, 0.5);
}

[data-style="neon"] .hero-title .name {
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color), 0 0 60px var(--primary-color);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    }

    50% {
        text-shadow: 0 0 30px var(--primary-color), 0 0 60px var(--primary-color), 0 0 80px var(--primary-color);
    }
}

[data-style="neon"] .skill-card,
[data-style="neon"] .project-card,
[data-style="neon"] .service-card,
[data-style="neon"] .blog-card {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.3), inset 0 0 20px rgba(0, 255, 135, 0.05);
}

[data-style="neon"] .skill-card:hover,
[data-style="neon"] .project-card:hover,
[data-style="neon"] .service-card:hover,
[data-style="neon"] .blog-card:hover {
    box-shadow: 0 0 40px rgba(0, 255, 135, 0.5), inset 0 0 30px rgba(0, 255, 135, 0.1);
}

[data-style="neon"] .btn-primary {
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

[data-style="neon"] .btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 255, 135, 0.8);
}

[data-style="neon"] .section-title {
    text-shadow: 0 0 10px var(--primary-color);
}

[data-style="neon"] .nav-link:hover,
[data-style="neon"] .nav-link.active {
    text-shadow: 0 0 10px var(--primary-color);
}

[data-style="neon"] .social-link:hover {
    box-shadow: 0 0 25px var(--primary-color);
}

[data-style="neon"] .timeline::before {
    box-shadow: 0 0 15px var(--primary-color);
}

/* ============================================
   Nature Style Theme
============================================ */
[data-style="nature"] {
    --primary-color: #56ab2f;
    --primary-dark: #4a9429;
    --secondary-color: #a8e6cf;
    --accent-color: #ff8b94;
    --gradient-primary: linear-gradient(135deg, #56ab2f, #a8e6cf);
    --gradient-accent: linear-gradient(135deg, #ff8b94, #56ab2f);
}

[data-style="nature"] .shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

[data-style="nature"] .skill-card,
[data-style="nature"] .project-card,
[data-style="nature"] .service-card,
[data-style="nature"] .blog-card {
    border-radius: 30px 10px 30px 10px;
}

[data-style="nature"] .btn-primary,
[data-style="nature"] .btn-secondary {
    border-radius: 30px 10px 30px 10px;
}

[data-style="nature"] .hero-title .name {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 50%, #56ab2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: leafGradient 3s ease infinite;
}

@keyframes leafGradient {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

[data-style="nature"] .section-tag::before,
[data-style="nature"] .section-tag::after {
    content: '🌿';
    background: none;
    width: auto;
    height: auto;
}

/* ============================================
   Hero Section
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -100px;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    animation: float3 12s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--primary-dark);
    bottom: 30%;
    right: 20%;
    animation: float4 20s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-50px, 50px) rotate(90deg);
    }

    50% {
        transform: translate(-100px, 0) rotate(180deg);
    }

    75% {
        transform: translate(-50px, -50px) rotate(270deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, -100px) scale(1.1);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-30%, -70%) scale(0.8);
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-30px, 30px);
    }

    66% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 25px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: inline-block;
}

.hero-title .name {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 350px;
    height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: 0;
    transition: all var(--transition-normal);
}

.image-container:hover .image-decoration {
    top: 30px;
    left: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

.scroll-indicator p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.5;
        top: 20px;
    }
}

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn i {
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   Section Styles
============================================ */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--secondary-color);
}

.section-tag::before {
    left: -45px;
}

.section-tag::after {
    right: -45px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title .accent {
    color: var(--primary-color);
}

/* ============================================
   About Section
============================================ */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 450px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.experience-badge .text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Skills Section
============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform var(--transition-normal);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(10deg);
}

.skill-icon i {
    font-size: 2rem;
    color: var(--white);
}

.skill-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.skill-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.skill-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* ============================================
   Projects Section
============================================ */
.projects {
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

a.project-card:hover {
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-img-placeholder {
    width: 100%;
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-img-placeholder {
    transform: scale(1.1);
}

.project-img-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 92, 231, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    transform: translateY(20px);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.project-info {
    padding: 30px;
}

.project-category {
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 10px 0 15px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 5px 15px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   Contact Section
============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
    color: var(--text-primary);
    font-size: 1rem;
    transition: color var(--transition-normal);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-normal);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.form-group input:focus~.focus-border,
.form-group textarea:focus~.focus-border {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--dark-light);
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-text i {
    color: var(--accent-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Services Section
============================================ */
.services {
    padding: 120px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card>p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* ============================================
   Testimonials Section
============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 400px;
    max-width: 400px;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.testimonial-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.testimonial-content:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content>p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--primary-color);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   Timeline Section
============================================ */
.timeline-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.3);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content .company {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-tags span {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ============================================
   Blog Section
============================================ */
.blog {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--shadow-glow);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img-placeholder {
    transform: scale(1.1);
}

.blog-img-placeholder i {
    font-size: 3rem;
    color: var(--white);
    opacity: 0.8;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-primary);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog-meta span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-content>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: 15px;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        min-width: 350px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    a,
    button {
        cursor: pointer;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .theme-toggle {
        margin-right: 15px;
        width: 40px;
        height: 40px;
    }

    .style-toggle {
        width: 40px;
        height: 40px;
    }

    .style-selector {
        margin-right: 10px;
    }

    .style-dropdown {
        right: -50px;
    }

    .hero-title .name {
        font-size: 3rem;
    }

    .image-container {
        width: 280px;
        height: 320px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .experience-badge {
        right: 10px;
        bottom: -20px;
        padding: 15px 25px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }

    .testimonial-content {
        padding: 25px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: -32px;
    }

    .timeline-content {
        padding: 20px;
    }

    .service-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title .name {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-tag::before,
    .section-tag::after {
        display: none;
    }
}

/* ============================================
   PREMIUM FEATURES - GTA6 / Apple Inspired
============================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Audio Toggle */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.audio-bars span {
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: audioBar 0.5s ease infinite;
}

.audio-bars span:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.audio-bars span:nth-child(2) {
    height: 16px;
    animation-delay: 0.1s;
}

.audio-bars span:nth-child(3) {
    height: 12px;
    animation-delay: 0.2s;
}

.audio-bars span:nth-child(4) {
    height: 18px;
    animation-delay: 0.3s;
}

.audio-toggle.muted .audio-bars span {
    animation: none;
    height: 3px;
}

@keyframes audioBar {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

/* Cursor Text */
.cursor-text {
    position: fixed;
    pointer-events: none;
    z-index: 10002;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.cursor-text.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Enhanced Loader */
.loader-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.loader-svg {
    width: 100%;
    height: 100%;
}

.loader-letter {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    fill: var(--text-primary);
}

.loader-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: loaderCircle 2s ease forwards;
    transform-origin: center;
}

@keyframes loaderCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.loader-word {
    display: inline-block;
}

.loader-dots span {
    animation: loaderDots 1.5s infinite;
    opacity: 0;
}

.loader-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes loaderDots {

    0%,
    60%,
    100% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }
}

.loader-counter {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Gradient Orbs - Apple style */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Hero Roles Rotation */
.hero-roles {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 1.3rem;
    overflow: hidden;
    height: 40px;
}

.role-prefix {
    color: var(--primary-color);
    font-weight: 600;
}

.roles-wrapper {
    position: relative;
    height: 100%;
    min-width: 400px;
    overflow: hidden;
}

.role {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--text-secondary);
}

.role.active {
    opacity: 1;
    transform: translateY(0);
}

.role.exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* Text highlight */
.highlight {
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Floating tech icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: floatIcon 4s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: var(--shadow-md);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(0deg);
    }

    50% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 15px)) rotate(5deg);
    }
}

/* Side Socials */
.hero-socials {
    position: fixed;
    left: 30px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-line {
    width: 1px;
    height: 100px;
    background: var(--border-color);
}

/* Side Email */
.hero-email {
    position: fixed;
    right: 30px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.email-link {
    writing-mode: vertical-rl;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--primary-color);
}

.email-line {
    width: 1px;
    height: 100px;
    background: var(--border-color);
}

/* Enhanced Button */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-primary {
    position: relative;
    z-index: 1;
}

.btn-primary .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover .btn-bg {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-icon {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch:hover::before {
    animation: glitch1 0.3s infinite;
    color: var(--primary-color);
    opacity: 0.8;
}

.glitch:hover::after {
    animation: glitch2 0.3s infinite;
    color: var(--secondary-color);
    opacity: 0.8;
}

@keyframes glitch1 {
    0% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-3px, 0);
    }

    20% {
        clip-path: inset(60% 0 20% 0);
        transform: translate(3px, 0);
    }

    40% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-3px, 0);
    }

    60% {
        clip-path: inset(80% 0 10% 0);
        transform: translate(3px, 0);
    }

    80% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(-3px, 0);
    }

    100% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(3px, 0);
    }
}

@keyframes glitch2 {
    0% {
        clip-path: inset(60% 0 20% 0);
        transform: translate(3px, 0);
    }

    20% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-3px, 0);
    }

    40% {
        clip-path: inset(80% 0 10% 0);
        transform: translate(3px, 0);
    }

    60% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-3px, 0);
    }

    80% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(3px, 0);
    }

    100% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(-3px, 0);
    }
}

/* Magnetic effect handled via JS */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Parallax elements */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* Video overlay */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(var(--bg-rgb, 10, 10, 15), 0.7) 0%,
            rgba(var(--bg-rgb, 10, 10, 15), 0.5) 50%,
            rgba(var(--bg-rgb, 10, 10, 15), 0.9) 100%);
    z-index: 1;
}

/* Smooth scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Responsive adjustments for new features */
@media (max-width: 1024px) {

    .hero-socials,
    .hero-email {
        display: none;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 300px;
        height: 300px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .floating-icons {
        display: none;
    }

    .audio-toggle {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }

    .hero-roles {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}