/* =====================================================
   DINESH S - Enhanced Portfolio Styles
   Premium Dark Theme with Trending Animations
   ===================================================== */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f17;
    --bg-tertiary: #1a1a2e;

    /* Gradient Colors */
    --gradient-1: #667eea;
    --gradient-2: #764ba2;
    --gradient-3: #f093fb;
    --gradient-4: #f5576c;
    --gradient-5: #4facfe;
    --gradient-6: #00f2fe;
    --gradient-7: #43e97b;
    --gradient-8: #38f9d7;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-muted: #6b6b7b;

    /* Accent Colors */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-success: #00d4aa;
    --accent-warning: #ffc107;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Spacing & Typography */
    --section-padding: 120px 0;
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --font-display: 'Orbitron', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gradient-1);
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gradient-1), var(--gradient-2));
    border-radius: 4px;
}

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

/* =====================================================
   CHRISTMAS MODAL
   ===================================================== */
.christmas-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: fadeIn 0.6s ease;
    padding: 20px;
}

.christmas-modal.show {
    display: flex;
}

.christmas-modal.hidden {
    animation: fadeOut 0.5s ease forwards;
}

.christmas-content {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    border: 3px solid rgba(255, 215, 0, 0.4);
    border-radius: 30px;
    padding: 60px 40px 50px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 80px rgba(255, 215, 0, 0.2),
                inset 0 0 60px rgba(255, 255, 255, 0.05);
    animation: slideDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.christmas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.christmas-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    cursor: pointer !important;
}

.christmas-close:active {
    transform: rotate(90deg) scale(0.95);
    cursor: pointer !important;
}

.santa-wrapper {
    position: absolute;
    top: -50px;
    left: -100px;
    right: -100px;
    height: 150px;
    overflow: visible;
    pointer-events: none;
}

.santa-sleigh {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: santaFly 8s linear infinite;
}

.santa {
    font-size: 3rem;
    filter: drop-shadow(0 5px 15px rgba(255, 0, 0, 0.6));
    animation: santaBounce 0.5s ease-in-out infinite alternate;
}

.reindeer {
    font-size: 2.5rem;
    filter: drop-shadow(0 5px 15px rgba(139, 69, 19, 0.6));
    animation: reindeerJump 0.6s ease-in-out infinite;
}

.christmas-tree {
    font-size: 4.5rem;
    margin-bottom: 25px;
    animation: treeGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(34, 139, 34, 0.8));
}

.christmas-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    perspective: 1000px;
}

.christmas-letter {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: letterPop 0.6s ease-in-out both;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.christmas-letter.highlight {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.christmas-letter:nth-child(1) { animation-delay: 0.1s; }
.christmas-letter:nth-child(2) { animation-delay: 0.15s; }
.christmas-letter:nth-child(3) { animation-delay: 0.2s; }
.christmas-letter:nth-child(4) { animation-delay: 0.25s; }
.christmas-letter:nth-child(5) { animation-delay: 0.3s; }
.christmas-letter:nth-child(7) { animation-delay: 0.4s; }
.christmas-letter:nth-child(8) { animation-delay: 0.45s; }
.christmas-letter:nth-child(9) { animation-delay: 0.5s; }
.christmas-letter:nth-child(10) { animation-delay: 0.55s; }
.christmas-letter:nth-child(11) { animation-delay: 0.6s; }
.christmas-letter:nth-child(12) { animation-delay: 0.65s; }
.christmas-letter:nth-child(13) { animation-delay: 0.7s; }
.christmas-letter:nth-child(14) { animation-delay: 0.75s; }
.christmas-letter:nth-child(15) { animation-delay: 0.8s; }

.christmas-emoji {
    display: inline-block;
    font-size: 2.8rem;
    animation: spin 2s ease-in-out infinite;
}

.christmas-message {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.christmas-tagline {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #FFD93D;
    font-style: italic;
}

.christmas-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.christmas-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    cursor: pointer !important;
}

.christmas-btn:active {
    transform: translateY(-1px) scale(1.02);
    cursor: pointer !important;
}

.christmas-btn span {
    position: relative;
    z-index: 2;
}

.sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    animation: sparkleFloat 1.5s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 15%;
    right: 20%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    bottom: 15%;
    left: 50%;
    animation-delay: 1s;
}

.snowflakes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 30px;
}

.snowflake {
    position: absolute;
    top: -10%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    animation: fall linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.snowflake:nth-child(1) {
    left: 5%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 15%;
    animation-duration: 10s;
    animation-delay: 2s;
    font-size: 1.4rem;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 9s;
    animation-delay: 4s;
}

.snowflake:nth-child(4) {
    left: 45%;
    animation-duration: 11s;
    animation-delay: 1s;
    font-size: 2rem;
}

.snowflake:nth-child(5) {
    left: 60%;
    animation-duration: 12s;
    animation-delay: 3s;
    font-size: 1.2rem;
}

.snowflake:nth-child(6) {
    left: 75%;
    animation-duration: 9.5s;
    animation-delay: 5s;
}

.snowflake:nth-child(7) {
    left: 85%;
    animation-duration: 10.5s;
    animation-delay: 1.5s;
    font-size: 1.6rem;
}

.snowflake:nth-child(8) {
    left: 95%;
    animation-duration: 11.5s;
    animation-delay: 2.5s;
}

.lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite alternate;
}

.light.red {
    background: #FF6B6B;
    box-shadow: 0 0 15px #FF6B6B;
    animation-delay: 0s;
}

.light.green {
    background: #51CF66;
    box-shadow: 0 0 15px #51CF66;
    animation-delay: 0.25s;
}

.light.blue {
    background: #4ECDC4;
    box-shadow: 0 0 15px #4ECDC4;
    animation-delay: 0.5s;
}

.light.yellow {
    background: #FFD93D;
    box-shadow: 0 0 15px #FFD93D;
    animation-delay: 0.75s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes santaFly {
    0% {
        left: -150px;
        top: 20px;
    }
    50% {
        top: 40px;
    }
    100% {
        left: calc(100% + 150px);
        top: 20px;
    }
}

@keyframes santaBounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-8px);
    }
}

@keyframes reindeerJump {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes treeGlow {
    from {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(34, 139, 34, 0.6));
    }
    to {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(34, 139, 34, 1));
    }
}

@keyframes letterPop {
    0% {
        transform: translateY(20px) rotateX(-90deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) rotateX(10deg);
    }
    100% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes spin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

@keyframes fall {
    to {
        transform: translateY(120vh) rotate(360deg);
    }
}

@keyframes blink {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* =====================================================
   CUSTOM CURSOR & EFFECTS
   ===================================================== */
#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.cursor-trail {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease;
}

.cursor-dot.expanded {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.2);
    mix-blend-mode: normal;
}

/* Blob Background */
.blob-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -2;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: blobFloat 20s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-4));
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--gradient-5), var(--gradient-6));
    top: 50%;
    left: 40%;
    animation-delay: 14s;
}

@keyframes blobFloat {

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

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

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

    75% {
        transform: translate(30px, 50px) scale(1.05) rotate(270deg);
    }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.5s ease, padding 0.5s ease, border-bottom 0.5s ease;
}

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

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 12px;
    font-size: 1.3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-logo:hover .logo-icon::before {
    opacity: 1;
}

.logo-icon i {
    position: relative;
    z-index: 1;
}

.logo-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--gradient-1);
    border-radius: 16px;
    animation: logoPulse 2s infinite;
    opacity: 0;
}

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

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

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--gradient-1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-md);
}

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

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 10002;
    position: relative;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

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

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

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

.hero-text {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--accent-success);
    margin-bottom: 25px;
}

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

@keyframes pulse {

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

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

.hero-greeting {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wave-emoji {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {

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

    10%,
    30% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.hero-name {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
}

.name-letter {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gradient-1) 50%, var(--gradient-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--transition-bounce);
    cursor: default;
}

.name-letter:hover {
    transform: translateY(-10px) scale(1.1);
    animation: letterBounce 0.5s ease;
}

.name-letter.accent {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes letterBounce {

    0%,
    100% {
        transform: translateY(-10px) scale(1.1);
    }

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

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.title-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    color: white;
    animation: iconFloat 3s infinite ease-in-out;
}

@keyframes iconFloat {

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

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

.typing-text {
    color: var(--gradient-3);
    font-weight: 600;
    min-height: 1.5em;
}

.cursor-blink {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--gradient-1);
    margin-left: 2px;
    animation: cursorBlink 1s infinite;
    vertical-align: middle;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

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

.hero-description .highlight {
    color: var(--gradient-1);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    padding: 20px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
}

.btn-primary .btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-xl);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-primary:hover .btn-glow {
    opacity: 0.8;
}

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

.btn-secondary:hover {
    border-color: var(--gradient-1);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

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

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

/* Social Links */
.hero-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.social-link:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--gradient-1);
    opacity: 0;
}

.social-link:hover .social-ripple {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    from {
        transform: scale(0.8);
        opacity: 1;
    }

    to {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Profile Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: orbitSpin 20s linear infinite;
}

.ring-1 {
    inset: -30px;
    animation-duration: 15s;
}

.ring-2 {
    inset: -60px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 {
    inset: -90px;
    animation-duration: 35s;
}

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

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

.orbit-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gradient-1);
    font-size: 1rem;
    animation: orbitSpinReverse 20s linear infinite;
}

.ring-1 .orbit-icon {
    animation-duration: 15s;
}

.ring-2 .orbit-icon {
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 .orbit-icon {
    animation-duration: 35s;
}

@keyframes orbitSpinReverse {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(-50%) rotate(-360deg);
    }
}

/* Profile Image */
.profile-wrapper {
    position: absolute;
    inset: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-glow {
    position: absolute;
    inset: -30px;
    background: conic-gradient(from 0deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-1));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {

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

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

.profile-border-animated {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-5), var(--gradient-1));
    animation: borderRotate 4s linear infinite;
}

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

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

.profile-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 5px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(1.1) contrast(1.05);
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(102, 126, 234, 0.2) 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Floating Tech Badges */
.floating-tech {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: floatBadge 5s infinite ease-in-out;
    z-index: 10;
}

.floating-tech i {
    color: var(--gradient-1);
    font-size: 1rem;
}

.tech-1 {
    top: 15%;
    right: -15%;
    animation-delay: 0s;
}

.tech-2 {
    bottom: 25%;
    left: -20%;
    animation-delay: 1.5s;
}

.tech-3 {
    bottom: 5%;
    right: 0%;
    animation-delay: 3s;
}

@keyframes floatBadge {

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 2s;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: var(--glass-border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 100%;
    height: 15px;
    background: linear-gradient(180deg, var(--gradient-1), transparent);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

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

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.animate-slide-in {
    opacity: 0;
    transform: translateY(40px);
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.animate-float-in {
    opacity: 0;
    transform: translateX(60px);
    animation: floatIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

.delay-7 {
    animation-delay: 0.7s;
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--gradient-1);
    margin-bottom: 20px;
}

.tag-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 6px;
    font-size: 0.7rem;
    color: white;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(102, 126, 234, 0.3);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-slide:hover {
    transform: translateX(10px);
}

.hover-bounce:hover {
    animation: bounce 0.5s ease;
}

@keyframes bounce {

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

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

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

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

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

.about-card {
    padding: 30px;
    position: relative;
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-info-grid {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
}

.info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    color: var(--gradient-1);
    font-size: 1.1rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Skills */
.skills-card {
    padding: 35px;
}

.skills-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.skills-title i {
    color: var(--gradient-1);
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.skill-item {
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.skill-item:hover {
    transform: scale(1.02);
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.skill-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    color: var(--gradient-1);
    font-size: 1rem;
}

.skill-name {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.skill-percent {
    font-size: 0.9rem;
    color: var(--gradient-1);
    font-weight: 600;
}

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

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-3));
    border-radius: 4px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-glow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-3);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.8;
}

.soft-skills {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
}

.soft-skills h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.soft-skills h4 i {
    color: var(--gradient-1);
}

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

.tag {
    padding: 10px 18px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tag:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--gradient-1);
    color: var(--text-primary);
}

/* =====================================================
   EXPERIENCE SECTION
   ===================================================== */
.experience {
    padding: var(--section-padding);
}

.experience-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.exp-spotlight {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
    pointer-events: none;
}

.exp-badge-container {
    margin-bottom: 25px;
}

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
}

.exp-badge.current {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.4);
    color: var(--accent-success);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.exp-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

.company-logo {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.company-logo.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-1));
    border-radius: calc(var(--radius-md) + 2px);
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

.company-logo img {
    width: 75%;
    height: auto;
    object-fit: contain;
}

.exp-info {
    flex: 1;
}

.company-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.exp-role {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--gradient-1);
    font-weight: 600;
    margin-bottom: 12px;
}

.exp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--gradient-1);
}

.exp-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    color: var(--gradient-1);
}

.highlight-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 8px 18px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--gradient-1);
    font-family: var(--font-mono);
    transition: all var(--transition-normal);
}

.tech-tag:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

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

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

.project-card {
    padding: 35px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.08);
    font-family: var(--font-display);
}

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

.project-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    opacity: 0.15;
    transition: all var(--transition-normal);
}

.project-card:hover .icon-bg {
    opacity: 0.25;
    transform: scale(1.1);
}

.project-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--gradient-1);
    position: relative;
    z-index: 1;
}

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

.project-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.project-link:hover {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gradient-3);
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

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

.project-tech span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.project-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

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

/* =====================================================
   EDUCATION SECTION
   ===================================================== */
.education {
    padding: var(--section-padding);
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 3px;
}

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

.timeline-item {
    position: relative;
    width: 50%;
    padding: 25px 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-marker {
    position: absolute;
    top: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-primary), 0 10px 30px rgba(102, 126, 234, 0.3);
}

.timeline-marker.small {
    width: 45px;
    height: 45px;
    font-size: 1rem;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -27px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -27px;
}

.marker-pulse {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--gradient-1);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

.timeline-content {
    padding: 30px;
    text-align: left;
}

.timeline-date-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-institution {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--gradient-3);
    margin-bottom: 18px;
    font-weight: 500;
}

.timeline-score {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.score-circle {
    width: 55px;
    height: 55px;
    position: relative;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: rgba(102, 126, 234, 0.2);
    stroke-width: 3;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke: var(--accent-success);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.score-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-success);
}

.score-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-score-simple {
    margin-bottom: 15px;
}

.timeline-score-simple .score-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-success);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================================
   CERTIFICATIONS SECTION
   ===================================================== */
.certifications {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.cert-category {
    padding: 35px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: white;
}

.category-icon.achievement {
    background: linear-gradient(135deg, var(--gradient-4), var(--accent-warning));
}

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

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.cert-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cert-icon.python {
    background: rgba(55, 118, 171, 0.1);
    color: #3776ab;
}

.cert-icon.ai {
    background: rgba(240, 147, 251, 0.1);
    color: var(--gradient-3);
}

.cert-icon.security {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-success);
}

.cert-icon.analytics {
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent-warning);
}

.cert-info {
    flex: 1;
}

.cert-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cert-badge {
    color: var(--accent-success);
    font-size: 1.1rem;
}

/* Achievements */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.achievement-item:hover {
    border-color: rgba(245, 87, 108, 0.3);
}

.achievement-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-4), var(--accent-warning));
    border-radius: 50%;
    font-size: 1.4rem;
    color: white;
    position: relative;
}

.achievement-icon.star {
    background: linear-gradient(135deg, var(--accent-warning), #ff6b6b);
}

.achievement-info h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.achievement-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 87, 108, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--gradient-4);
}

/* Publication */
.publication-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
}

.pub-title,
.extra-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.pub-title i,
.extra-title i {
    color: var(--gradient-1);
}

.publication-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gradient-1);
}

.pub-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.pub-info h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.pub-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pub-journal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gradient-3);
}

/* Extra-Curricular */
.extra-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.extra-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.extra-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(8px);
}

.extra-item i {
    color: var(--gradient-1);
    font-size: 1rem;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: var(--section-padding);
}

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

.contact-card {
    padding: 30px;
    margin-bottom: 30px;
}

.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: var(--gradient-1);
    position: relative;
    transition: all var(--transition-normal);
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.contact-item:hover .contact-icon {
    color: white;
}

.contact-item:hover .icon-glow {
    opacity: 1;
}

.contact-icon i {
    position: relative;
    z-index: 1;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--gradient-1);
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.social-btn.linkedin {
    background: rgba(0, 119, 181, 0.1);
    border: 1px solid rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.social-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-3px);
}

.social-btn.github {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.social-btn.github:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

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

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

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    outline: none;
    transition: border-color var(--transition-normal);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: 5px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition-normal);
}

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

.form-group input:focus~label,
.form-group input:valid~label,
.form-group input.has-value~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label,
.form-group textarea.has-value~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--gradient-1);
    font-weight: 500;
}

.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-3));
    transition: width var(--transition-normal);
}

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

.submit-btn {
    align-self: flex-start;
    margin-top: 15px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--bg-secondary);
    padding: 30px 0 20px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon.large {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-name .accent {
    color: var(--gradient-1);
}

.footer-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.heart {
    display: inline-block;
    animation: heartBeat 1s infinite;
}

@keyframes heartBeat {

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

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

.footer-social {
    display: flex;
    gap: 15px;
    margin: 5px 0;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.progress-ring {
    position: absolute;
    inset: -3px;
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-dasharray: 126;
    stroke-dashoffset: 126;
    transition: stroke-dashoffset 0.3s ease;
}

/* =====================================================
   MAGNETIC BUTTON EFFECT
   ===================================================== */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

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

    .hero-title-wrapper {
        justify-content: center;
    }

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

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

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

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .profile-container {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right var(--transition-normal);
        padding: 40px;
        z-index: 10001;
    }

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

    .hamburger {
        display: flex;
        z-index: 10002;
    }

    /* Fix theme toggle positioning on mobile */
    .theme-toggle-floating {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        z-index: 9999;
    }

    /* Ensure navbar doesn't conflict */
    .navbar {
        z-index: 10000;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: 0;
        right: auto;
    }

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

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

    .profile-container {
        width: 280px;
        height: 280px;
    }

    .floating-tech {
        display: none;
    }

    .orbit-ring {
        display: none;
    }

    /* Additional tablet optimizations */
    .hero-badge {
        font-size: 0.85rem;
    }

    .hero-greeting {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-tag {
        font-size: 0.85rem;
    }

    /* Contact social buttons stack better */
    .contact-social {
        flex-direction: column;
        gap: 15px;
    }

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

    /* Timeline adjustments */
    .timeline-date-badge {
        font-size: 0.85rem;
    }

    /* Experience cards */
    .exp-body {
        font-size: 0.95rem;
    }

    /* Blob animations reduce on mobile */
    .blob {
        opacity: 0.15;
    }

    /* Navigation logo size */
    .nav-logo {
        font-size: 1.5rem;
    }

    .logo-text-shiny {
        font-size: 1.5rem;
    }

    /* Christmas Modal Tablet */
    .christmas-content {
        padding: 50px 30px 40px;
        max-width: 450px;
    }

    .christmas-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 10px;
    }

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

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .profile-container {
        width: 220px;
        height: 220px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .experience-card {
        padding: 25px;
    }

    .exp-header {
        flex-direction: column;
    }

    .container {
        padding: 0 20px;
    }

    /* Hide complex cursor on mobile/touch */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    * {
        cursor: auto !important;
    }

    /* Adjust floating theme toggle - right side */
    .theme-toggle-floating {
        width: 45px;
        height: 45px;
        top: 12px;
        right: 12px;
        left: auto;
        font-size: 1rem;
        z-index: 9999;
    }

    /* Hamburger positioning - left side */
    .hamburger {
        z-index: 10002;
        position: relative;
        display: flex !important;
        margin-right: 5px;
    }

    /* Fix timeline spacing */
    .timeline-item {
        padding-left: 70px;
        padding-right: 15px;
    }

    /* Adjust stats font size */
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Social buttons stacking */
    .hero-social {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Form improvements */
    .form-group {
        margin-bottom: 25px;
    }

    .contact-form {
        gap: 25px;
    }

    /* Hide particle canvas on very small screens */
    #particles {
        opacity: 0.3;
    }

    /* Adjust tech tags */
    .tech-tag {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Company logo size */
    .company-logo {
        width: 60px;
        height: 60px;
    }

    /* Project cards */
    .project-card {
        padding: 20px;
    }

    /* Hero description */
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Christmas Modal Mobile */
    .christmas-content {
        padding: 45px 20px 35px;
        margin: 0 10px;
        max-width: calc(100vw - 20px);
    }

    .christmas-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .christmas-message {
        font-size: 0.9rem;
    }

    .christmas-tree {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .santa {
        font-size: 2rem;
    }

    .reindeer {
        font-size: 1.8rem;
    }

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

    .lights {
        padding: 6px 8px;
    }

    .light {
        width: 8px;
        height: 8px;
    }

    .christmas-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 1.1rem;
    }

    .christmas-tagline {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 375px) {
    .hero-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .theme-toggle-floating {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        font-size: 1rem;
    }

    .hamburger {
        width: 30px;
    }

    .hamburger .bar {
        height: 2px;
    }

    .profile-container {
        width: 200px;
        height: 200px;
    }

    .timeline-content {
        padding: 20px;
    }

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

    .contact-info-item {
        font-size: 0.9rem;
    }

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

    /* Christmas Modal Extra Small */
    .christmas-content {
        padding: 40px 18px 32px;
        margin: 0 8px;
    }

    .christmas-title {
        font-size: 1.4rem;
    }

    .christmas-message {
        font-size: 0.85rem;
    }

    .christmas-tree {
        font-size: 2.5rem;
    }

    .santa {
        font-size: 1.8rem;
    }

    .reindeer {
        font-size: 1.5rem;
    }

    .christmas-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .christmas-letter {
        font-size: inherit;
    }

    .christmas-emoji {
        font-size: 2rem;
    }
}

/* =====================================================
   ENHANCED LOGO & VISUALS (UPDATED)
   ===================================================== */

/* Shiny Logo Text */
.logo-text-shiny {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    background: linear-gradient(135deg, white 40%, var(--gradient-1) 50%, white 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    letter-spacing: 1px;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Enhanced Project Cards */
.project-card {
    padding: 0;
    /* Reset padding for cover image */
    display: flex;
    flex-direction: column;
}

.project-cover {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-1 {
    background: linear-gradient(135deg, #FF6B6B, #556270);
}

.cover-2 {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.cover-3 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.cover-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.cover-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.project-card:hover .cover-content {
    transform: scale(1.1);
}

.project-card:hover .cover-icon {
    transform: rotateY(10deg);
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

.project-links-minimal a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-links-minimal a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

.project-tech-row {
    margin-top: auto;
    /* Push to bottom */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-tech-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-tech-row span i {
    color: var(--gradient-1);
}

/* Improved Cursor */
.cursor-dot {
    box-shadow: 0 0 10px var(--gradient-1), 0 0 20px var(--gradient-1);
}

.click-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    animation: particleFade 0.6s ease-out forwards;
    z-index: 9999;
}

@keyframes particleFade {
    0% {
        transform: scale(0);
        opacity: 1;
    }

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


/* =====================================================
   LIGHT MODE & REFINEMENTS
   ===================================================== */
:root {
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Syne', sans-serif;
}

[data-theme="light"] {
    --bg-primary: #fdfbf7;
    /* Cream/Off-white */
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f4f8;

    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-hover: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);

    --gradient-1: #6C63FF;
    /* Softer Purple */
    --gradient-2: #FF6584;
    /* Soft Pink */
    --gradient-3: #4facfe;
    /* Soft Blue */
}

/* Updated Typography */
h1,
h2,
h3,
h4,
.logo-text-shiny,
.project-number {
    font-family: var(--font-display);
}

/* Actions Container for Toggle & Hamburger */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--glass-bg-hover);
    box-shadow: 0 0 15px var(--gradient-1);
    border-color: var(--gradient-1);
}

/* Icon Switching logic handled in JS/CSS classes usually,
   but for now we position absolute to animate swap */
.theme-toggle i {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .fa-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .fa-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: #f1c40f;
}

[data-theme="light"] .fa-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="light"] .fa-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: #f39c12;
}

/* Image Positioning Fix */
.profile-wrapper {
    /* Adjust margins or position to center better */
    margin-top: 20px;
}

.hero-visual {
    /* Ensure it takes full available space for centering */
    width: 100%;
    justify-content: center;
    padding-top: 30px;
    /* Slight push down */
}

/* Make sure image border toggle works for light mode too */
[data-theme="light"] .profile-border-animated {
    opacity: 0.8;
}

/* Aesthetic Scrollbar for Light Mode */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

/* =====================================================
   ROUND 3 REFINEMENTS
   ===================================================== */

/* 1. Font Update */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Poppins', sans-serif;
}

/* 2. Profile Image Fix */
.profile-img {
    /* Adjust position to show head clearly */
    object-position: center 20%;
    transform: scale(1.1);
    /* Slight zoom to fill better */
}

/* 3. Sunset/Sunrise Toggle Animation */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* Sunset (Dark Mode) Background */
.slider {
    background: linear-gradient(to bottom, #2b32b2, #1488cc);
    /* Night Sky */
}

/* Sunrise (Light Mode) Background */
input:checked+.slider {
    background: linear-gradient(to bottom, #ff9966, #ff5e62);
    /* Sunset/Sunrise */
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Sun/Moon Icon movement */
.icon-part {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: .4s;
}

.icon-part .fa-sun {
    position: absolute;
    right: 8px;
    top: 9px;
    color: #ffd700;
    opacity: 0;
    transform: translateY(20px);
    transition: .4s;
}

.icon-part .fa-moon {
    position: absolute;
    left: 8px;
    top: 9px;
    color: #f1c40f;
    opacity: 1;
    transform: translateY(0);
    transition: .4s;
}

input:checked+.slider:before {
    transform: translateX(26px);
    background: #ffeb3b;
    /* Sun color */
    box-shadow: 0 0 10px #ffeb3b;
}

input:checked+.slider .fa-sun {
    opacity: 1;
    transform: translateY(0);
}

input:checked+.slider .fa-moon {
    opacity: 0;
    transform: translateY(-20px);
}

/* =====================================================
   ROUND 4: LAMP TOGGLE & PROJECT IMAGES
   ===================================================== */

/* Project Images */
.project-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
    /* Remove previous gradients if specific class used */
    background: #000;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

/* Lamp Toggle Container */
.lamp-container {
    position: relative;
    width: 60px;
    height: 100px;
    /* Space for wire to hang */
    /* We might need fixed positioning if we want it to hang from top of screen 
       regardless of navbar, but user said "toggle" so inside navbar is safer 
       for layout. Let's keep it in navbar for now or make it fixed as an "accessory".
       Let's try absolute/fixed to make it look like it hangs from the "ceiling" of the nav.
    */
    z-index: 1001;
    pointer-events: none;
    /* Let canvas capture events */
}

#lamp-canvas {
    position: absolute;
    top: -20px;
    /* Start slightly above */
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    /* Re-enable pointer events for the canvas */
    /* Size will be set by JS */
}

/* Adjust hamburger to not overlap if needed */
.hamburger {
    z-index: 1002;
}

/* =====================================================
   ROUND 5: HEADER FIX & REALISTIC PHYSICS
   ===================================================== */

/* Light Mode Header Fix */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--gradient-1);
    background: rgba(108, 99, 255, 0.1);
}

/* Profile Image Centering (User Request) */
.profile-img {
    /* "position in the center" - adjusting to center center as requested, 
       but keeping slight top bias if needed or strictly center. 
       Let's try strictly center for now. */
    object-position: center center !important;
}

/* Ensure Logo text is visible in light mode */
[data-theme="light"] .logo-text-shiny {
    background: linear-gradient(135deg, var(--gradient-1) 0%, #333 50%, var(--gradient-1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   ROUND 6: FINAL VISIBILITY FIXES
   ===================================================== */

/* 1. Lamp Fixed Positioning */
.lamp-container {
    position: fixed !important;
    top: 0;
    right: 80px;
    /* Left of hamburger/scrollbars */
    width: 60px;
    height: 100px;
    z-index: 10001 !important;
    /* Above EVERYTHING */
    pointer-events: none;
}

#lamp-canvas {
    top: -20px;
    pointer-events: auto;
    /* Enable drag */
}

/* Mobile Lamp Position */
@media (max-width: 768px) {
    .lamp-container {
        right: 60px;
    }
}

/* 2. Profile Image Alignment Fix */
.profile-img {
    object-position: center 20% !important;
    /* Top-bias to show head */
}

/* 3. Ensure Project Images fit well */
.project-img {
    object-fit: cover !important;
    object-position: center top !important;
    /* Most meaningful content usually at top */
}

/* 4. Ensure toggle visibility in Light Mode */
[data-theme="light"] .lamp-container {
    /* No special bg needed, just rely on canvas drawing */
}

/* =====================================================
   ROUND 7: EMERGENCY VISIBILITY TWEAKS
   ===================================================== */

/* 1. Profile Image Clarity */
.profile-img {
    transform: none !important;
    /* Remove zoom to avoid cutting off face */
    object-position: 50% 15% !important;
    /* Slightly lower than top to show forehead */
}

/* 2. Lamp Visibility Guarantee */
.lamp-container {
    right: 5% !important;
    /* Use percentage to avoid edge */
    top: 0 !important;
    overflow: visible !important;
    /* Ensure canvas isn't clipped */
    /* Add temporary debug border if needed, but let's trust high contrast first */
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    /* enhance visibility against any bg */
}

/* =====================================================
   ROUND 8: FINAL VISIBILITY FIX (DIMENSIONS)
   ===================================================== */

/* Fix Dimension Mismatch preventing rendering */
.lamp-container {
    width: 100px !important;
    /* Match JS canvas width */
    height: 150px !important;
    /* Ensure enough height */
    top: 0 !important;
    /* Bring fully on screen */
    right: 20px !important;
    /* Safe margin */
    z-index: 2147483647 !important;
    /* Max Z-Index */
    background: transparent !important;
    /* Ensure no weird bg */
}

#lamp-canvas {
    top: 0 !important;
    /* Reset offset */
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    /* Match container */
}

/* Ensure canvas is visible against header */
.navbar {
    z-index: 1000 !important;
    /* Ensure lamp (z-index max) is above nav */
}

/* =====================================================
   ROUND 9: HIDE DEFAULT CURSOR & LAMP FIX
   ===================================================== */

/* Hide default cursor everywhere since we have custom cursor */
*,
html,
body,
a,
button,
input {
    cursor: none !important;
}

/* Exception: Show cursor on Christmas modal and buttons */
.christmas-modal,
.christmas-modal *,
.christmas-close,
.christmas-btn {
    cursor: pointer !important;
}

/* Re-assert Lamp Visibility */
.lamp-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =====================================================
   ROUND 10: FLOATING ORB & SCI-FI CURSOR
   ===================================================== */

/* 1. Floating Theme Toggle */
.theme-toggle-floating {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 10000;
    /* High z-index */
    cursor: pointer;
    /* standard cursor for interactable, but we hide it globally? */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-floating:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
    border-color: transparent;
}

[data-theme="light"] .theme-toggle-floating {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

/* 2. Enhanced Sci-Fi Cursor */
.cursor-dot {
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    /* Initial Color */
    transform: translate(-50%, -50%);
    /* Re-center on coords */
    /* Create Arrow Shape */
    clip-path: polygon(50% 0%, 0% 100%, 50% 80%, 100% 100%);
    border-radius: 0;
    /* Remove circle */
    mix-blend-mode: normal;
    /* Better visibility */
    box-shadow: none;
    /* shadow doesn't work well with clip-path on element itself */
    z-index: 10001;
    /* Above toggle */
    transition: transform 0.1s ease;
    pointer-events: none;
}

/* Add a glow wrapper if needed, but trail handles glow. */
/* Let's make the trail more prominent */
.cursor-trail {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.4) 0%, transparent 70%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

/* Hover State for Cursor */
body:has(a:hover) .cursor-dot,
body:has(button:hover) .cursor-dot {
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--accent-success);
    /* Green on interact */
}

/* =====================================================
   ROUND 11: FLUID RING CURSOR
   ===================================================== */

/* Remove old arrow cursor */
.cursor-dot {
    clip-path: none !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    width: 8px !important;
    height: 8px !important;
    background: var(--gradient-1) !important;
    z-index: 10010 !important;
    pointer-events: none;
    box-shadow: 0 0 10px var(--gradient-1);
    transition: width 0.3s, height 0.3s;
}

/* Add Fluid Ring */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10009;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
    /* Cool inversion effect */
}

/* Hover States */
body:has(a:hover) .cursor-dot,
body:has(button:hover) .cursor-dot {
    width: 40px !important;
    height: 40px !important;
    opacity: 0.5;
    background: var(--accent-success) !important;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent-success);
    border-width: 3px;
}

/* =====================================================
   ROUND 12: VISIBILITY & JELLY CURSOR
   ===================================================== */

/* Improve Contact Form Visibility */
.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--gradient-1) !important;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* Light Mode Support for Form */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--text-primary) !important;
}

/* Remove transition for Jelly Effect on Ring */
.cursor-ring {
    transition: width 0.3s, height 0.3s, border-color 0.3s !important;
    /* removed transition for transform to allow physics update */
    will-change: transform;
}

/* =====================================================
   ROUND 13: GHOST BLOB CURSOR & HINT
   ===================================================== */

/* Reset Ring */
.cursor-ring {
    border: none !important;
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.8;
    mix-blend-mode: difference;
    /* Inverts color of background */
    filter: blur(2px);
    transition: width 0.3s, height 0.3s, opacity 0.5s !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hide dot for this style, or make it tiny center */
.cursor-dot {
    background: white !important;
    mix-blend-mode: difference;
    opacity: 1;
    width: 6px !important;
    height: 6px !important;
}

/* Hover State */
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
    width: 50px;
    height: 50px;
    opacity: 0.4;
    filter: blur(5px);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 20px;
    /* Aligned with left content */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: driftUp 2s ease-out forwards;
    animation-delay: 2s;
    transition: opacity 1s ease;
    z-index: 100;
}

.scroll-hint.fade-out {
    opacity: 0 !important;
    pointer-events: none;
}

.hint-text {
    font-size: 0.85rem;
    font-family: 'Syne', sans-serif;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hint-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes driftUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes scrollLine {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }

    50% {
        transform-origin: top;
        transform: scaleY(1);
    }

    51% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           R E S P O N S I V E N E S S   &   M O B I L E   O P T I M I Z A T I O N S           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /         @ m e d i a   ( m a x - w i d t h :   9 6 8 p x )    {
                 : r o o t    {
                             - - s e c t i o n - p a d d i n g :    8 0 p x   0 ;
                     
    }

                     . h e r o - n a m e    {
                             f o n t - s i z e :    3 . 5 r e m ;
                     
    }

                     . p r o j e c t s - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( a u t o - f i t ,    m i n m a x ( 3 0 0 p x ,    1 f r ) ) ;
                     
    }

         
}

         @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {

                     / *   L a y o u t   S t a c k i n g   * /             . h e r o - c o n t e n t ,
                 . a b o u t - c o n t e n t ,
                 . c o n t a c t - c o n t e n t    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    4 0 p x ;
                             t e x t - a l i g n :    c e n t e r ;
                     
    }

                     / *   N a v i g a t i o n   * /             . n a v - m e n u    {
                             p o s i t i o n :    f i x e d ;
                             t o p :    0 ;
                             r i g h t :    - 1 0 0 % ;
                             w i d t h :    8 0 % ;
                             m a x - w i d t h :    3 0 0 p x ;
                             h e i g h t :    1 0 0 v h ;
                             b a c k g r o u n d :    r g b a ( 1 0 ,    1 0 ,    1 5 ,    0 . 9 5 ) ;
                             b a c k d r o p - f i l t e r :    b l u r ( 2 0 p x ) ;
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                             p a d d i n g :    5 0 p x ;
                             t r a n s i t i o n :    r i g h t   0 . 4 s   c u b i c - b e z i e r ( 0 . 4 ,    0 ,    0 . 2 ,    1 ) ;
                             b o r d e r - l e f t :    1 p x   s o l i d   v a r ( - - g l a s s - b o r d e r ) ;
                             b o x - s h a d o w :    - 1 0 p x   0   3 0 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 5 ) ;
                     
    }

                     . n a v - m e n u . a c t i v e    {
                             r i g h t :    0 ;
                     
    }

                     . h a m b u r g e r    {
                             d i s p l a y :    f l e x ;
                             z - i n d e x :    1 0 0 1 ;
                     
    }

                     / *   H e r o   S e c t i o n   * /             . h e r o - t e x t    {
                             o r d e r :    1 ;
                             d i s p l a y :    f l e x ;
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             a l i g n - i t e m s :    c e n t e r ;
                     
    }

                     . h e r o - v i s u a l    {
                             o r d e r :    0 ;
                             m a r g i n - b o t t o m :    3 0 p x ;
                             t r a n s f o r m :    s c a l e ( 0 . 9 ) ;
                     
    }

                     . p r o f i l e - c o n t a i n e r    {
                             w i d t h :    3 0 0 p x ;
                             h e i g h t :    3 0 0 p x ;
                     
    }

                     . b l o b - 1 ,
                 . b l o b - 2 ,
                 . b l o b - 3    {
                             w i d t h :    3 0 0 p x ;
                             h e i g h t :    3 0 0 p x ;
                     
    }

                     . h e r o - g r e e t i n g ,
                 . h e r o - t i t l e - w r a p p e r    {
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                     . h e r o - d e s c r i p t i o n    {
                             m a r g i n :    0   a u t o   3 0 p x ;
                     
    }

                     . h e r o - s t a t s    {
                             f l e x - w r a p :    w r a p ;
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                             g a p :    2 0 p x ;
                     
    }

                     . s t a t - d i v i d e r    {
                             d i s p l a y :    n o n e ;
                     
    }

                     . h e r o - c t a    {
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                     . h e r o - s o c i a l    {
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                     / *   A b o u t   S e c t i o n   * /             . a b o u t - t e x t    {
                             o r d e r :    0 ;
                     
    }

                     . s k i l l s - c o n t a i n e r    {
                             o r d e r :    1 ;
                     
    }

                     . s k i l l s - g r i d    {
                             g a p :    1 5 p x ;
                     
    }

                     / *   E x p e r i e n c e   * /             . e x p - h e a d e r    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             a l i g n - i t e m s :    c e n t e r ;
                             t e x t - a l i g n :    c e n t e r ;
                     
    }

                     . e x p - r o l e ,
                 . e x p - m e t a    {
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                     . e x p - h i g h l i g h t s    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                     
    }

                     . e x p - t e c h    {
                             j u s t i f y - c o n t e n t :    c e n t e r ;
                     
    }

                     / *   T i m e l i n e   * /             . t i m e l i n e : : a f t e r    {
                             l e f t :    3 1 p x ;
                     
    }

                     / *   F i x   t i m e l i n e   l i n e   p o s i t i o n   * /             . t i m e l i n e - l i n e    {
                             l e f t :    3 1 p x ;
                             t r a n s f o r m :    t r a n s l a t e X ( 0 ) ;
                     
    }

                     . t i m e l i n e - i t e m    {
                             w i d t h :    1 0 0 % ;
                             p a d d i n g - l e f t :    8 0 p x ;
                             p a d d i n g - r i g h t :    2 0 p x ;
                             t e x t - a l i g n :    l e f t ;
                     
    }

                     . t i m e l i n e - i t e m : n t h - c h i l d ( o d d )    {
                             t e x t - a l i g n :    l e f t ;
                     
    }

                     . t i m e l i n e - i t e m : n t h - c h i l d ( e v e n )    {
                             l e f t :    0 ;
                     
    }

                     . t i m e l i n e - i t e m : n t h - c h i l d ( o d d )   . t i m e l i n e - m a r k e r ,
                 . t i m e l i n e - i t e m : n t h - c h i l d ( e v e n )   . t i m e l i n e - m a r k e r    {
                             l e f t :    4 p x ;
                             r i g h t :    a u t o ;
                     
    }

                     / *   M a k e   m a r k e r   c i r c l e s   c o n s i s t e n t   * /             . t i m e l i n e - m a r k e r    {
                             w i d t h :    5 4 p x ;
                             h e i g h t :    5 4 p x ;
                     
    }

                     / *   C e r t i f i c a t i o n s   * /             . c e r t - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                     
    }

                     / *   C o n t a c t   F o r m   F i x e s   * /             . c o n t a c t - f o r m - w r a p p e r    {
                             p a d d i n g :    3 0 p x   2 0 p x ;
                     
    }

                     . f o r m - r o w    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             g a p :    3 0 p x ;
                             / *   I n c r e a s e d   f r o m   2 0 p x / 1 f r   * /             
    }

                     . c o n t a c t - f o r m    {
                             g a p :    3 5 p x ;
                             / *   I n c r e a s e d   f r o m   2 5 p x   * /             
    }

         
}

         @ m e d i a   ( m a x - w i d t h :   4 8 0 p x )    {
                 . c o n t a i n e r    {
                             p a d d i n g :    0   2 0 p x ;
                     
    }

                     . h e r o - n a m e    {
                             f o n t - s i z e :    2 . 8 r e m ;
                     
    }

                     . s e c t i o n - t i t l e    {
                             f o n t - s i z e :    2 r e m ;
                     
    }

                     . p r o f i l e - c o n t a i n e r    {
                             w i d t h :    2 6 0 p x ;
                             h e i g h t :    2 6 0 p x ;
                     
    }

                     / *   H i d e   c o m p l e x   c u r s o r   o n   m o b i l e / t o u c h   * /             . c u r s o r - d o t ,
                 . c u r s o r - r i n g    {
                             d i s p l a y :    n o n e    ! i m p o r t a n t ;
                     
    }

                     b o d y    {
                             c u r s o r :    a u t o ;
                     
    }

         
}

         / *   C o n t a c t   F o r m   S p a c i n g   I m p r o v e m e n t s   G l o b a l l y   * /     . c o n t a c t - f o r m    {
                 g a p :    3 5 p x ;
                 / *   A d d e d   b r e a t h i n g   r o o m   * /     
}

         . f o r m - r o w    {
                 g a p :    3 0 p x ;
                 / *   A d d e d   b r e a t h i n g   r o o m   * /     
}

         . c o n t a c t - f o r m - w r a p p e r    {
                 / *   E n s u r e   p a d d i n g   i s   s u f f i c i e n t   e v e n   o n   d e s k t o p   * /             p a d d i n g :    0   1 0 p x ;
         
}

     