/* ===== style.css ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #070B1A;
    --bg-secondary: #0B1124;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --primary: #7C5CFF;
    --secondary: #5EC8FF;
    --accent: #FF6EC7;
    --text: #FFFFFF;
    --text-secondary: #B8C0D4;
    --text-muted: #6B7A99;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-display: 'Sora', sans-serif;
    --shadow: 0 8px 32px rgba(124, 92, 255, 0.15);
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: default;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    background: rgba(7, 11, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo .logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-logo .logo span {
    color: var(--primary);
}
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}
.nav-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 60%;
}
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text);
}
.dark-mode-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-secondary) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid var(--border-glass) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-size: 14px !important;
}
.dark-mode-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===== BACKGROUND EFFECTS ===== */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    width: 700px;
    height: 700px;
    background: rgba(124, 92, 255, 0.12);
    top: -20%;
    right: -10%;
    animation: floatBlob 20s ease-in-out infinite;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(94, 200, 255, 0.08);
    bottom: -15%;
    left: 5%;
    animation: floatBlob 25s ease-in-out infinite reverse;
}
.blob-3 {
    width: 400px;
    height: 400px;
    background: rgba(255, 110, 199, 0.06);
    top: 40%;
    left: 40%;
    animation: floatBlob 30s ease-in-out infinite;
}
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-40px, 40px) scale(0.9); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124, 92, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ===== PARTICLES ===== */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(124, 92, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}
.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 15%; left: 80%; animation-delay: 1s; width: 6px; height: 6px; }
.particle:nth-child(3) { top: 40%; left: 10%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; left: 90%; animation-delay: 0.5s; width: 3px; height: 3px; }
.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 1.5s; width: 5px; height: 5px; }
.particle:nth-child(6) { top: 20%; left: 50%; animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(7) { top: 70%; left: 70%; animation-delay: 0.8s; }
.particle:nth-child(8) { top: 45%; left: 40%; animation-delay: 1.8s; width: 6px; height: 6px; }
.particle:nth-child(9) { top: 90%; left: 60%; animation-delay: 2.2s; width: 3px; height: 3px; }
.particle:nth-child(10) { top: 30%; left: 60%; animation-delay: 0.3s; }
.particle:nth-child(11) { top: 50%; left: 25%; animation-delay: 1.2s; width: 4px; height: 4px; }
.particle:nth-child(12) { top: 75%; left: 50%; animation-delay: 2s; width: 5px; height: 5px; }
@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    50% { transform: translate(40px, -50px) scale(1.5); opacity: 0.8; }
}

/* Hero Left */
.hero-left {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 20px;
}
.hero-greeting {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.hero-name {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.typing-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    min-height: 36px;
}
.typing-text {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary);
}
.typing-cursor {
    font-size: 20px;
    font-weight: 300;
    color: var(--primary);
    animation: blink 0.8s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 24px rgba(124, 92, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(124, 92, 255, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
    background: rgba(124, 92, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}
.hero-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}
.hero-social a:hover {
    background: rgba(124, 92, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    animation: bounceScroll 2s ease-in-out infinite;
}
.scroll-indicator i {
    font-size: 14px;
}
@keyframes bounceScroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   PREMIUM RIGHT SIDE HERO - LARGER PHOTO
   ============================================ */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Abstract Geometric Decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(124, 92, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}
.geo-1 {
    width: 250px;
    height: 250px;
    top: -15%;
    right: -10%;
    animation: spinGeo 30s linear infinite;
}
.geo-2 {
    width: 180px;
    height: 180px;
    bottom: -10%;
    left: -15%;
    border-color: rgba(94, 200, 255, 0.06);
    animation: spinGeo 25s linear infinite reverse;
}
@keyframes spinGeo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.geo-line {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}
.geo-line-1 {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.15), transparent);
    top: 15%;
    right: -25%;
    transform: rotate(25deg);
}
.geo-line-2 {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 200, 255, 0.12), transparent);
    bottom: 20%;
    left: -20%;
    transform: rotate(-30deg);
}
.geo-line-3 {
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 110, 199, 0.08), transparent);
    top: 55%;
    right: -15%;
    transform: rotate(10deg);
}

/* Dot Grid Pattern */
.dot-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(124, 92, 255, 0.06) 1px, transparent 1px);
    background-size: 35px 35px;
    opacity: 0.5;
}

/* Profile Wrapper - LARGER */
.profile-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Large blurred purple glow behind - BIGGER */
.profile-glow-bg {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.25), rgba(94, 200, 255, 0.1), transparent 70%);
    filter: blur(80px);
    animation: pulseGlowBg 4s ease-in-out infinite;
    z-index: 0;
}
@keyframes pulseGlowBg {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Floating Glass Card - LARGER */
.profile-glass-card {
    position: relative;
    width: 88%;
    height: 88%;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 40px 100px rgba(124, 92, 255, 0.1);
    padding: 14px;
    z-index: 1;
    animation: floatCard 6s ease-in-out infinite;
    transform: rotate(-2deg);
}
@keyframes floatCard {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-12px); }
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}
.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.profile-frame:hover img {
    transform: scale(1.05);
}

/* Soft shadow overlay - BIGGER */
.profile-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(124, 92, 255, 0.2), transparent 70%);
    filter: blur(25px);
    z-index: 0;
    pointer-events: none;
}

/* ===== PREMIUM FLOATING SKILL BADGES - LARGER ===== */
.skill-badge {
    position: absolute;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-secondary);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    white-space: nowrap;
    z-index: 3;
    letter-spacing: 0.3px;
}
.skill-badge i {
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}
.skill-badge:hover {
    transform: scale(1.15) translateY(-4px);
    border-color: var(--primary);
    color: var(--text);
    background: rgba(124, 92, 255, 0.15);
    box-shadow: 0 12px 40px rgba(124, 92, 255, 0.2);
}
.skill-badge:hover i {
    color: var(--secondary);
}

/* Badge Positions with Floating Animation */
.badge-1 {
    top: -8%;
    right: -10%;
    animation: floatBadge1 4.5s ease-in-out infinite;
}
.badge-2 {
    top: 20%;
    left: -14%;
    animation: floatBadge2 5s ease-in-out infinite 0.5s;
}
.badge-3 {
    top: 50%;
    right: -12%;
    animation: floatBadge3 4.8s ease-in-out infinite 1s;
}
.badge-4 {
    bottom: 18%;
    left: -10%;
    animation: floatBadge4 5.2s ease-in-out infinite 0.3s;
}
.badge-5 {
    bottom: -8%;
    right: 0%;
    animation: floatBadge5 4.3s ease-in-out infinite 0.8s;
}
.badge-6 {
    top: 6%;
    left: -2%;
    animation: floatBadge6 4.7s ease-in-out infinite 1.2s;
}

/* Individual Float Animations with Rotation */
@keyframes floatBadge1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-8px, -14px) rotate(3deg); }
}
@keyframes floatBadge2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -12px) rotate(-4deg); }
}
@keyframes floatBadge3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-6px, -16px) rotate(4deg); }
}
@keyframes floatBadge4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(-3deg); }
}
@keyframes floatBadge5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -12px) rotate(5deg); }
}
@keyframes floatBadge6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(8px, -14px) rotate(-5deg); }
}

/* ===== STATISTICS ===== */
.stats-section {
    padding: 40px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.stat-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}
.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* ===== SECTION BASE ===== */
.section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 80px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-tag {
    display: inline-block;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.15);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
}
.section-title .highlight {
    background: linear-gradient(45deg, var(--accent), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

/* ===== ABOUT ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-image-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow);
}
.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-content h3 {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.timeline-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 4px;
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
}
.timeline-item h4 {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
}
.timeline-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== EXPERIENCE ===== */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.exp-card {
    display: flex;
    gap: 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 28px 32px;
    transition: var(--transition);
}
.exp-card:hover {
    transform: translateX(8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.exp-icon {
    font-size: 32px;
    min-width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 255, 0.08);
    border-radius: 12px;
}
.exp-content h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.exp-company {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}
.exp-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ===== SKILLS ===== */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.skill-category {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.skill-category:hover {
    border-color: var(--primary);
}
.skill-category h3 {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}
.skill-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.skill-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 80px;
}
.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}
.skill-progress {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 1.5s ease;
    width: 0;
}
.skill-item:hover .skill-progress {
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.2);
}
.skill-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 36px;
    text-align: right;
}

/* ============================================
   PROJECT CAROUSEL GALLERY - FIXED FOR FULL IMAGE VIEW
   ============================================ */

.project-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: 16px 16px 0 0;
}

.gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    object-fit: contain;
    background: var(--bg-secondary);
}

.gallery-image.active {
    opacity: 1;
}

/* Gallery Navigation Dots */
.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.gallery-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.gallery-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Gallery Navigation Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery:hover .gallery-btn {
    opacity: 1;
}

.gallery-btn:hover {
    background: rgba(124, 92, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn.prev {
    left: 8px;
}

.gallery-btn.next {
    right: 8px;
}

.gallery-btn i {
    font-size: 14px;
}

/* Gallery Image Counter */
.gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery:hover .gallery-counter {
    opacity: 1;
}

/* Hide old project-image, show gallery */
.project-card .project-image {
    display: none;
}

.project-card .project-gallery {
    display: block;
}

/* ============================================
   PROJECT CAROUSEL GALLERY - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .project-gallery {
        height: 350px;
    }
    
    .gallery-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        opacity: 0.7;
    }
    
    .gallery-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    .gallery-dots .dot.active {
        width: 18px;
    }
    
    .gallery-counter {
        display: none;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        height: 300px;
    }
    
    .gallery-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.project-info {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.project-tags span {
    background: rgba(124, 92, 255, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--secondary);
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-small {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-small:hover {
    background: rgba(124, 92, 255, 0.12);
    color: var(--text);
    border-color: var(--primary);
}

.btn-demo {
    background: rgba(124, 92, 255, 0.08);
    color: var(--primary);
}

.btn-demo:hover {
    background: rgba(124, 92, 255, 0.15);
}

/* ===== CERTIFICATES ===== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cert-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}
.cert-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.cert-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}
.cert-card h3 {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.cert-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.cert-card .btn-small {
    background: transparent;
    color: var(--primary);
}
.cert-card .btn-small:hover {
    background: rgba(124, 92, 255, 0.1);
}

/* ===== CERTIFICATE MODAL ===== */
.cert-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 26, 0.92);
    backdrop-filter: blur(16px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalZoom {
    from { transform: scale(0.85) rotate(-2deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.cert-modal-content img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
    background: #fff;
}

.cert-modal-info {
    padding: 20px 30px;
    text-align: center;
}

.cert-modal-info h3 {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.cert-modal-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.cert-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cert-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ===== CONTACT ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 32px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(124, 92, 255, 0.04);
    box-shadow: 0 0 30px rgba(124, 92, 255, 0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.contact-form .btn {
    width: 100%;
    justify-content: center;
}
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: var(--transition);
}
.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}
.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 255, 0.08);
    border-radius: 10px;
    color: var(--primary);
    font-size: 18px;
}
.contact-item h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}
.contact-item p {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 40px 20px;
    margin-top: 40px;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}
.footer-brand h3 span {
    color: var(--primary);
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
.footer-social a:hover {
    background: rgba(124, 92, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== DARK MODE TOGGLE ===== */
body.light-mode {
    --bg-primary: #f5f0ff;
    --bg-secondary: #e8e0f5;
    --bg-glass: rgba(255, 255, 255, 0.5);
    --border-glass: rgba(0, 0, 0, 0.06);
    --text: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #6b6b8a;
}
body.light-mode .bg-blob {
    opacity: 0.3;
}
body.light-mode .grid-pattern {
    opacity: 0.3;
}
body.light-mode .particle {
    background: rgba(124, 92, 255, 0.2);
}
body.light-mode nav {
    background: rgba(245, 240, 255, 0.8);
    backdrop-filter: blur(20px);
}
body.light-mode .skill-badge {
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-mode .skill-badge:hover {
    background: rgba(124, 92, 255, 0.15);
}
body.light-mode .profile-glass-card {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-mode .profile-glow-bg {
    background: radial-gradient(circle, rgba(124, 92, 255, 0.15), rgba(94, 200, 255, 0.05), transparent 70%);
}
body.light-mode .stat-card,
body.light-mode .skill-category,
body.light-mode .project-card,
body.light-mode .cert-card,
body.light-mode .exp-card,
body.light-mode .contact-form,
body.light-mode .contact-item {
    background: rgba(255, 255, 255, 0.6);
}
body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a2e;
}
body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #6b6b8a;
}
body.light-mode .geo-circle {
    border-color: rgba(124, 92, 255, 0.1);
}
body.light-mode .geo-line-1 {
    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.15), transparent);
}
body.light-mode .geo-line-2 {
    background: linear-gradient(90deg, transparent, rgba(94, 200, 255, 0.12), transparent);
}
body.light-mode .geo-line-3 {
    background: linear-gradient(90deg, transparent, rgba(255, 110, 199, 0.08), transparent);
}
body.light-mode .dot-grid {
    background-image: radial-gradient(circle, rgba(124, 92, 255, 0.1) 1px, transparent 1px);
}

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-social {
        justify-content: center;
    }
    .scroll-indicator {
        justify-content: center;
    }
    .profile-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image-frame {
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Keep badges visible on tablet */
    .skill-badge {
        font-size: 12px;
        padding: 8px 16px 8px 12px;
    }
    .skill-badge i {
        font-size: 15px;
    }
    .geo-circle,
    .geo-line,
    .dot-grid {
        display: none;
    }
    .particles-container {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 6px;
        transition: var(--transition);
        border-left: 1px solid var(--border-glass);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links li a {
        width: 100%;
        padding: 12px 16px;
    }
    .hero {
        padding: 100px 20px 60px;
    }
    .section {
        padding: 60px 20px;
    }
    .stats-section {
        padding: 20px 20px 40px;
    }
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .stat-number {
        font-size: 28px;
    }
    .skills-container {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    .exp-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .typing-text {
        font-size: 16px;
    }
    
    /* ===== SHOW BADGES ON MOBILE (MAKE THEM SMALLER) ===== */
    .skill-badge {
        display: flex !important;
        font-size: 9px;
        padding: 4px 10px 4px 8px;
        gap: 4px;
        border-radius: 20px;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        z-index: 3;
        letter-spacing: 0.2px;
    }
    .skill-badge i {
        font-size: 11px;
    }
    
    /* Reposition badges for mobile */
    .badge-1 {
        top: -2%;
        right: -2%;
        animation: floatBadge1 4.5s ease-in-out infinite;
    }
    .badge-2 {
        top: 18%;
        left: -4%;
        animation: floatBadge2 5s ease-in-out infinite 0.5s;
    }
    .badge-3 {
        top: 45%;
        right: -4%;
        animation: floatBadge3 4.8s ease-in-out infinite 1s;
    }
    .badge-4 {
        bottom: 22%;
        left: -2%;
        animation: floatBadge4 5.2s ease-in-out infinite 0.3s;
    }
    .badge-5 {
        bottom: -2%;
        right: 2%;
        animation: floatBadge5 4.3s ease-in-out infinite 0.8s;
    }
    .badge-6 {
        top: 4%;
        left: 2%;
        animation: floatBadge6 4.7s ease-in-out infinite 1.2s;
    }
    
    .profile-glass-card {
        width: 90%;
        height: 90%;
        padding: 10px;
    }
    .profile-glow-bg {
        width: 150%;
        height: 150%;
    }
    .profile-wrapper {
        max-width: 320px;
    }
    .cert-modal-content {
        max-width: 95%;
    }
    .cert-modal-info h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 32px;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-card {
        padding: 20px 16px;
    }
    .stat-number {
        font-size: 24px;
    }
    .contact-form {
        padding: 20px;
    }
    .profile-glass-card {
        width: 95%;
        height: 95%;
        padding: 8px;
    }
    .profile-wrapper {
        max-width: 280px;
    }
    .cert-modal {
        padding: 20px;
    }
    
    /* Even smaller badges on very small screens */
    .skill-badge {
        font-size: 8px !important;
        padding: 3px 8px 3px 6px !important;
        gap: 3px !important;
        border-radius: 16px !important;
    }
    .skill-badge i {
        font-size: 10px !important;
    }
}