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

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --dark: #0a0a1a;
    --darker: #060612;
    --light: #f8f9fa;
    --gold: #ffd32a;
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-2: linear-gradient(135deg, #00cec9, #55efc4);
    --gradient-3: linear-gradient(135deg, #fd79a8, #e84393);
    --gradient-4: linear-gradient(135deg, #ffd32a, #ff9f43);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--dark);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    cursor: default;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.05s ease;
}

.cursor.active {
    transform: scale(2.5);
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--secondary);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
}

.preloader-ring::before,
.preloader-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.preloader-ring::before {
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--primary), var(--secondary), transparent);
    animation: preloaderSpin 1.2s linear infinite;
}

.preloader-ring::after {
    width: 70px;
    height: 70px;
    background: var(--darker);
    top: 5px;
    left: 5px;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    margin-top: 30px;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.preloader-progress {
    width: 200px;
    height: 2px;
    background: rgba(108, 92, 231, 0.2);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress-bar {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: preloaderProgress 2s ease-in-out forwards;
}

@keyframes preloaderProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 60px;
    background: rgba(6, 6, 18, 0.9);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--light);
    transition: all 0.4s ease;
    border-radius: 2px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(6, 6, 18, 0.98);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 999;
    transition: right 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav a {
    color: var(--light);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.active a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.active a:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.active a:nth-child(5) {
    transition-delay: 0.5s;
}

/* ===== SECTIONS BASE ===== */
section {
    position: relative;
    z-index: 1;
}

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

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--secondary);
}

.section-subtitle::before {
    left: -45px;
}

.section-subtitle::after {
    right: -45px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 1.8;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatShape 15s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-shape:nth-child(3) {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes floatShape {

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

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

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

    75% {
        transform: translate(20px, 50px) scale(1.05);
    }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-greeting {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-name .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--gold));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {

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

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

.hero-role {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-role strong {
    color: var(--gold);
    font-weight: 600;
}

.typewriter {
    display: inline-block;
    border-right: 2px solid var(--primary);
    animation: blink 0.8s step-end infinite;
    padding-right: 5px;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 550px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5);
}

.btn-primary::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 0.6s ease;
}

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

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.hero-image-wrapper {
    flex: 0 0 auto;
    position: relative;
    animation: fadeInRight 1.2s ease 0.5s both;
}

.hero-image-container {
    width: 400px;
    height: 480px;
    position: relative;
}

.hero-image-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: var(--gradient-1);
    opacity: 0.2;
    animation: rotateBg 10s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
        border-radius: 30px 60px 30px 60px;
    }

    25% {
        border-radius: 60px 30px 60px 30px;
    }

    50% {
        transform: rotate(180deg);
        border-radius: 30px 60px 30px 60px;
    }

    75% {
        border-radius: 60px 30px 60px 30px;
    }

    100% {
        transform: rotate(360deg);
        border-radius: 30px 60px 30px 60px;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(108, 92, 231, 0.3);
}

.hero-image-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.hero-floating-card {
    position: absolute;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 20px;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

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

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

.floating-card-1 {
    top: 30px;
    left: -60px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 80px;
    right: -60px;
    animation-delay: -2s;
}

.floating-card-3 {
    bottom: 180px;
    left: -50px;
    animation-delay: -1s;
}

.floating-card-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.floating-card-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.floating-card-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 1.5s both;
}

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--secondary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 120px 60px;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image-section {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.about-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    opacity: 0.3;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.4);
    animation: rotateBadge 10s linear infinite;
}

@keyframes rotateBadge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-experience-badge .inner {
    animation: rotateBadgeInner 10s linear infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes rotateBadgeInner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.about-experience-badge .number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    position: relative;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: default;
}

.info-item:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.info-icon.purple {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
}

.info-icon.teal {
    background: rgba(0, 206, 201, 0.15);
    color: var(--secondary);
}

.info-icon.pink {
    background: rgba(253, 121, 168, 0.15);
    color: var(--accent);
}

.info-icon.gold {
    background: rgba(255, 211, 42, 0.15);
    color: var(--gold);
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 3px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--light);
}

.info-value a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--primary);
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 80px 60px;
    background: rgba(108, 92, 231, 0.03);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ===== SKILLS SECTION ===== */
.skills {
    padding: 120px 60px;
    position: relative;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
    opacity: 0.05;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.skill-icon-wrapper {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 28px;
    position: relative;
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.skill-icon-wrapper.electronics {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
}

.skill-icon-wrapper.arduino {
    background: rgba(0, 206, 201, 0.15);
    color: var(--secondary);
}

.skill-icon-wrapper.esp {
    background: rgba(253, 121, 168, 0.15);
    color: var(--accent);
}

.skill-icon-wrapper.raspberry {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.skill-icon-wrapper.web {
    background: rgba(255, 211, 42, 0.15);
    color: var(--gold);
}

.skill-icon-wrapper.seo {
    background: rgba(0, 206, 201, 0.15);
    color: #55efc4;
}

.skill-icon-wrapper.ecommerce {
    background: rgba(162, 155, 254, 0.15);
    color: #a29bfe;
}

.skill-name {
    font-size: 20px;
    font-weight: 700;
}

.skill-level {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 500;
}

.skill-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.skill-bar-container {
    position: relative;
    z-index: 1;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-bar-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.skill-bar-percentage {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--gradient-1);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== BLOOD GROUP SECTION ===== */
.blood-section {
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(253, 121, 168, 0.05), rgba(232, 67, 147, 0.05));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.blood-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.blood-visual {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.blood-drop {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blood-drop-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(253, 121, 168, 0.3));
}

.blood-drop-path {
    fill: var(--accent);
    animation: bloodPulse 2s ease-in-out infinite;
}

@keyframes bloodPulse {

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

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.blood-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blood-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.blood-info p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 16px;
}

.blood-info .blood-type-highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 120px 60px;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.5s ease;
    text-decoration: none;
    color: var(--light);
    cursor: pointer;
}

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

.contact-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.contact-card-icon.phone {
    background: rgba(0, 206, 201, 0.15);
    color: var(--secondary);
}

.contact-card-icon.email {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
}

.contact-card-icon.location {
    background: rgba(253, 121, 168, 0.15);
    color: var(--accent);
}

.contact-card-icon.blood {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.contact-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

.contact-card-value {
    font-size: 16px;
    font-weight: 600;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.4s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    align-self: flex-start;
    padding: 18px 50px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px;
    background: rgba(6, 6, 18, 0.95);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

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

.social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.footer-text .heart {
    color: var(--accent);
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {

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

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

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

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

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

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

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

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 40px 80px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .hero-image-container {
        width: 300px;
        height: 360px;
    }

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

    .hero-description {
        margin: 0 auto 40px;
    }

    .floating-card-1 {
        left: -30px;
    }

    .floating-card-2 {
        right: -30px;
    }

    .floating-card-3 {
        left: -20px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .blood-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
    }

    .navbar.scrolled {
        padding: 10px 25px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 25px 60px;
    }

    .hero-name {
        font-size: 36px;
    }

    .hero-image-container {
        width: 250px;
        height: 300px;
    }

    .hero-floating-card {
        display: none;
    }

    .about {
        padding: 80px 25px;
    }

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

    .skills {
        padding: 80px 25px;
    }

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

    .stats {
        padding: 60px 25px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 80px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .blood-section {
        padding: 60px 25px;
    }

    .footer {
        padding: 40px 25px;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-name {
        font-size: 28px;
    }

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

    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }

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

    .blood-visual {
        width: 150px;
        height: 150px;
    }

    .blood-drop {
        width: 150px;
        height: 150px;
    }

    .blood-text {
        font-size: 32px;
    }
}

/* ===== TILT EFFECT CLASS ===== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ===== MAGNETIC BUTTON ===== */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s ease;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
}

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

.glitch::before {
    animation: glitch-1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-text-fill-color: unset;
    color: var(--accent);
    background: none;
}

.glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-text-fill-color: unset;
    color: var(--secondary);
    background: none;
}

@keyframes glitch-1 {

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

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {

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

    20% {
        transform: translate(2px, -2px);
    }

    40% {
        transform: translate(2px, 2px);
    }

    60% {
        transform: translate(-2px, -2px);
    }

    80% {
        transform: translate(-2px, 2px);
    }
}

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(108, 92, 231, 0.02);
}

.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
}

.marquee-item .sep {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}