/* ===== IMPORTS ===== */
/* Inter font loaded via HTML link tag for better performance */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.80);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e1;

    --accent: #007AFF;
    --accent-light: #3b9aff;
    --accent-glow: rgba(0, 122, 255, 0.25);
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #007AFF 0%, #8b5cf6 100%);

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 100%;
    --container-padding: 0 10px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 122, 255, 0.15);
}

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

html, body {
    height: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    letter-spacing: -0.011em;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* ===== LEFT PANEL ===== */
.left-panel {
    width: 30%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: url('assets/BGImage.jpeg') center center / cover no-repeat;
    border-right: none;
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 15, 26, 0.75) 0%,
        rgba(10, 15, 30, 0.55) 40%,
        rgba(0, 20, 40, 0.65) 70%,
        rgba(10, 12, 28, 0.80) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.left-panel::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 122, 255, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.10) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroAuraDrift 18s ease-in-out infinite alternate;
}

@keyframes heroAuraDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(3%, -2%) rotate(2deg);
    }
    100% {
        transform: translate(-2%, 3%) rotate(-2deg);
    }
}

/* Hero grain overlay */
.left-panel-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 0;
}

.left-panel-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px 28px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* ===== RIGHT PANEL ===== */
.right-panel {
    margin-left: 30%;
    width: 70%;
    height: 100vh;
    overflow-y: auto;
    background: transparent;
    scroll-behavior: smooth;
    position: relative;
}

/* Solid base layer */
.right-panel::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: var(--bg-secondary);
    pointer-events: none;
    z-index: -2;
}

/* Image layer on top of base */
.right-panel::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: url('assets/myimage.png') center top 50px / 100% auto no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

.right-panel > * {
    position: relative;
    z-index: 1;
}

.right-panel::-webkit-scrollbar {
    width: 6px;
}

.right-panel::-webkit-scrollbar-track {
    background: transparent;
}

.right-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}

.right-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

/* ===== RIGHT NAVBAR ===== */
.right-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 40px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

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

/* ===== UTILITY ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 600px;
}

.section {
    padding: 70px 16px;
    position: relative;
}

/* ===== NAVIGATION ===== */

.nav-pills {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-pill {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid transparent;
    text-decoration: none;
}

.nav-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-pill.active {
    color: var(--accent-light);
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.25);
}

/* ===== PDF Download Button ===== */
.nav-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.25);
    color: var(--accent-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.nav-pdf-btn:hover {
    background: rgba(0, 122, 255, 0.18);
    border-color: rgba(0, 122, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.nav-pdf-btn svg {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===== HERO (left panel content) ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.04); }
}

/* ===== INSTAGRAM-STYLE PROFILE ===== */

/* Top Row: Avatar + Stats */
.ig-top-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.ig-avatar-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    position: relative;
    flex-shrink: 0;
    background: #0a0f1a;
    isolation: isolate;
}

/* Rotating conic gradient ring */
.ig-avatar-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #60a5fa 0%,
        #a78bfa 25%,
        #22d3ee 50%,
        #a78bfa 75%,
        #60a5fa 100%
    );
    z-index: -2;
    animation: ringRotate 6s linear infinite;
}

/* Inner dark separator ring */
.ig-avatar-ring::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #0a0f1a;
    z-index: -1;
}

/* Outer pulse halo — sits on the parent, not the rotating ring */
.ig-avatar-ring {
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringPulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(96, 165, 250, 0.2),
            0 0 20px rgba(96, 165, 250, 0.25),
            0 0 50px rgba(167, 139, 250, 0.15);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(167, 139, 250, 0.35),
            0 0 30px rgba(96, 165, 250, 0.4),
            0 0 70px rgba(167, 139, 250, 0.25);
    }
}

.ig-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(10, 15, 26, 0.9);
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ig-avatar-ring:hover .ig-avatar {
    transform: scale(1.03);
}

.ig-stats-row {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ig-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    padding: 2px 4px;
    position: relative;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ig-stat:hover {
    transform: translateY(-2px);
}

.ig-stat + .ig-stat::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
}

.ig-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ig-stat:hover .ig-stat-number {
    transform: scale(1.08);
}

.ig-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Bio */
.ig-bio {
    margin-bottom: 14px;
}

.ig-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.ig-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.ig-bio-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.ig-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.ig-location svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Typing Animation */
.ig-role {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.typing-prefix {
    color: var(--accent-light);
    font-weight: 600;
}

.typing-text {
    background: linear-gradient(
        110deg,
        #60a5fa 0%,
        #a78bfa 30%,
        #22d3ee 60%,
        #60a5fa 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: typingGradientShift 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.25));
}

@keyframes typingGradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: linear-gradient(180deg, #60a5fa, #a78bfa);
    border-radius: 1px;
    margin-left: 3px;
    color: transparent;
    animation: cursorBlink 1.05s cubic-bezier(0.55, 0, 0.45, 1) infinite;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
    vertical-align: middle;
}

@keyframes cursorBlink {
    0%, 45% { opacity: 1; transform: scaleY(1); }
    50%, 95% { opacity: 0.2; transform: scaleY(0.9); }
    100% { opacity: 1; transform: scaleY(1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Action Buttons — IG style */
.ig-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.ig-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ig-btn svg {
    flex-shrink: 0;
}

.ig-btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #5a9fff 100%);
    color: #fff;
    border: none;
    box-shadow: none;
}

.ig-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, #6daeff 100%);
    transform: translateY(-2px);
    box-shadow: none;
}

.resume-btn {
    font-family: inherit;
    cursor: pointer;
}

.ig-btn-secondary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: var(--text-primary);
    border: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.ig-btn-secondary:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.07) 100%);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Social Row */
.ig-social-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.ig-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 4px 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: none;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.ig-social-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: none;
}

/* LinkedIn — Blue */
.ig-social-card[title="LinkedIn"] {
    --social-color: rgba(10, 102, 194, 0.4);
    --social-color-bright: rgba(10, 102, 194, 0.8);
    --social-bg-hover: rgba(10, 102, 194, 0.08);
}

/* X — White/Gray */
.ig-social-card[title*="X"] {
    --social-color: rgba(255, 255, 255, 0.2);
    --social-color-bright: rgba(255, 255, 255, 0.5);
    --social-bg-hover: rgba(255, 255, 255, 0.07);
}

/* Instagram — Gradient Pink/Orange */
.ig-social-card[title="Instagram"] {
    --social-color: rgba(225, 48, 108, 0.4);
    --social-color-bright: rgba(225, 48, 108, 0.8);
    --social-bg-hover: rgba(225, 48, 108, 0.08);
}

/* Facebook — Blue */
.ig-social-card[title="Facebook"] {
    --social-color: rgba(24, 119, 242, 0.4);
    --social-color-bright: rgba(24, 119, 242, 0.8);
    --social-bg-hover: rgba(24, 119, 242, 0.08);
}

.ig-social-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.ig-social-card:hover .ig-social-logo {
    transform: scale(1.15);
}

.ig-social-card span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.ig-social-card:hover span {
    color: var(--text-primary);
}

/* Section Labels */
.ig-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Education Mini */
.ig-education {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: none;
    border-radius: 14px;
    margin-bottom: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.ig-education:hover {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-2px);
    box-shadow: none;
}

.ig-edu-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    border: none;
}

.ig-edu-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ig-edu-degree {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.ig-edu-school {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/* Certifications Mini */
.ig-certs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.ig-cert {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(145deg, rgba(0, 122, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.ig-cert:hover {
    background: linear-gradient(145deg, rgba(0, 122, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: none;
}

.ig-cert-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    padding: 3px;
    border: none;
}

.ig-cert-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.ig-cert-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.ig-cert-org {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/* Contact Cards Grid */
.ig-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ig-ccard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: none;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.ig-ccard::before {
    display: none;
}

.ig-ccard:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: none;
}

.ig-ccard-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ccard-icon-bg);
    color: var(--ccard-color);
    margin-bottom: 2px;
    overflow: hidden;
}

.ig-ccard-icon--img {
    background: transparent;
    padding: 0;
}

.ig-ccard-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.ig-ccard-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ccard-color);
    text-align: center;
    line-height: 1.3;
}

.ig-ccard-value {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

/* Gmail — Red */
.ig-ccard--gmail {
    --ccard-color: #EA4335;
    --ccard-gradient: linear-gradient(135deg, #EA4335, #FBBC05);
    --ccard-icon-bg: rgba(234, 67, 53, 0.12);
    --ccard-bg-hover: rgba(234, 67, 53, 0.06);
}

/* Yahoo — Purple */
.ig-ccard--yahoo {
    --ccard-color: #7B0099;
    --ccard-gradient: linear-gradient(135deg, #7B0099, #b44bd8);
    --ccard-icon-bg: rgba(123, 0, 153, 0.12);
    --ccard-bg-hover: rgba(123, 0, 153, 0.06);
}

/* Pakistan — Green (flag) */
.ig-ccard--pk {
    --ccard-color: #01ad52;
    --ccard-gradient: linear-gradient(135deg, #01ad52, #00c853);
    --ccard-icon-bg: rgba(1, 173, 82, 0.12);
    --ccard-bg-hover: rgba(1, 173, 82, 0.06);
}

/* Sweden — WhatsApp Green + Blue */
.ig-ccard--se {
    --ccard-color: #25D366;
    --ccard-gradient: linear-gradient(135deg, #25D366, #128C7E);
    --ccard-icon-bg: rgba(37, 211, 102, 0.12);
    --ccard-bg-hover: rgba(37, 211, 102, 0.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.35);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--border-card-hover);
}

/* ===== ABOUT — BENTO GRID ===== */

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
}

/* Bio spans full width on row 1 */
.bento-tile--bio {
    grid-column: 1 / -1;
}

/* Stats takes left on row 2 */
.bento-tile--stats {
    grid-column: 1 / 2;
}

/* Tech takes right on row 2 */
.bento-tile--tech {
    grid-column: 2 / 3;
}

/* Industries spans full width on row 3 */
.bento-tile--industries {
    grid-column: 1 / -1;
}

/* Base Tile */
.bento-tile {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient glow sweep on hover */
.bento-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 40%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--border-card-hover);
}

.bento-tile:hover::after {
    opacity: 1;
}

.bento-tile-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
}

.bento-tile-label::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    opacity: 0.8;
}

/* ── Bio Tile ── */
.bento-tile--bio {
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 122, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border-color: rgba(0, 122, 255, 0.2);
}

.bento-tile--bio::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #60a5fa, #a78bfa, #22d3ee);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}

.bento-tile--bio .bento-tile-label {
    color: #60a5fa;
}

.bento-tile--bio:hover {
    box-shadow: 0 16px 50px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
}

.bento-tile--bio p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
    margin: 0 0 8px 0;
}

.bento-tile--bio p:last-child { margin-bottom: 0; }

.bento-tile--bio strong {
    color: var(--accent-light);
    font-weight: 600;
    position: relative;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Stats Tile ── */
.bento-tile--stats {
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.bento-tile--stats .bento-tile-label {
    color: #a78bfa;
}

.bento-tile--stats:hover {
    box-shadow: 0 16px 50px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.bento-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.bento-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 0 8px 14px;
    position: relative;
    border-left: 2px solid rgba(139, 92, 246, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-stat:hover {
    border-left-color: rgba(167, 139, 250, 0.8);
    transform: translateX(3px);
}

.bento-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-stat:hover .bento-stat-num {
    transform: scale(1.05);
    transform-origin: left center;
}

.bento-stat-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Tech Stack Tile ── */
.bento-tile--tech {
    background:
        radial-gradient(circle at 0% 100%, rgba(0, 122, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border-color: rgba(0, 122, 255, 0.2);
}

.bento-tile--tech .bento-tile-label {
    color: #22d3ee;
}

.bento-tile--tech:hover {
    box-shadow: 0 16px 50px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
}

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

.bento-tech-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
}

.bento-tech-tag--primary {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
    color: #60a5fa;
    border-color: rgba(0, 122, 255, 0.35);
    box-shadow: 0 0 12px rgba(0, 122, 255, 0.12);
}

.bento-tech-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bento-tech-tag--primary:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.25) 0%, rgba(34, 211, 238, 0.18) 100%);
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.25);
    color: #93c5fd;
}

/* ── Globe Tile ── */
.bento-tile--globe {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(234, 179, 8, 0.04) 100%);
    border-color: rgba(249, 115, 22, 0.15);
}

.bento-tile--globe:hover {
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.35);
}

.bento-flags {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.bento-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.bento-flag:hover {
    transform: scale(1.15);
}

.bento-flag small {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ── Industries Tile ── */
.bento-tile--industries {
    background:
        radial-gradient(circle at 0% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.bento-tile--industries .bento-tile-label {
    color: #4ade80;
}

.bento-tile--industries:hover {
    box-shadow: 0 16px 50px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
}

.bento-industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 14px;
}

.bento-industry {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.bento-industry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.bento-industry:hover .bento-industry-dot {
    transform: scale(1.3);
    box-shadow: 0 0 14px var(--dot-color), 0 0 24px var(--dot-color);
}

.bento-industry-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dot-color);
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--dot-color);
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-industry-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--dot-color);
    opacity: 0.4;
    animation: industryPulse 2.5s ease-in-out infinite;
}

@keyframes industryPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===== EDUCATION ===== */
.education-card.small {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.education-card.small:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border-color: var(--border-card-hover);
}

.edu-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--border-card);
}

.edu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-content {
    flex: 1;
}

.edu-degree {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.edu-school {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 6px;
}

.edu-meta-small {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: 0;
    padding: 20px 0;
    position: relative;
}

/* Vertical connecting line */
.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 122, 255, 0.4), rgba(139, 92, 246, 0.3), rgba(0, 122, 255, 0.1));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 54px;
}

/* Timeline node dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2.5px solid rgba(0, 122, 255, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 122, 255, 0.5);
    transform: scale(1.2);
}

/* First item (current job) gets a pulsing dot */
.timeline-item:first-child::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.4);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 122, 255, 0.4); }
    50% { box-shadow: 0 0 18px rgba(0, 122, 255, 0.7); }
}

.timeline-dot { display: none; }

.timeline-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 122, 255, 0.18);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Left accent bar */
.timeline-content::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
    opacity: 0.6;
    transition: all 0.4s ease;
    border-radius: 3px 0 0 3px;
}

/* Top shimmer line */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 122, 255, 0.2) 30%, rgba(139, 92, 246, 0.2) 70%, transparent 100%);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 122, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.4);
}

.timeline-content:hover::before {
    opacity: 1;
    width: 4px;
    box-shadow: 2px 0 12px rgba(0, 122, 255, 0.2);
}

.timeline-content:hover::after {
    background: linear-gradient(90deg, transparent 0%, rgba(0, 122, 255, 0.4) 30%, rgba(139, 92, 246, 0.4) 70%, transparent 100%);
}

/* Current job — premium glow */
.timeline-item:first-child .timeline-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 122, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.78) 100%);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(0, 122, 255, 0.15);
}

.timeline-item:first-child .timeline-content::after {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent));
    opacity: 0.8;
}

.timeline-item:first-child .timeline-content::before {
    opacity: 1;
    background: linear-gradient(180deg, var(--accent), var(--accent-purple));
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 12px;
}

.timeline-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover .timeline-logo {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 122, 255, 0.15);
}

.timeline-logo--self {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: #fff;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
}

/* ── Indie / Non-company cards ── */
.timeline-item--indie .timeline-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(139, 92, 246, 0.06);
}

.timeline-item--indie .timeline-content::before {
    background: linear-gradient(180deg, #8b5cf6, #ec4899);
    opacity: 0.4;
}

.timeline-item--indie .timeline-content::after {
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.2) 30%, rgba(236, 72, 153, 0.15) 70%, transparent 100%);
}

.timeline-item--indie .timeline-content:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(139, 92, 246, 0.06);
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.timeline-item--indie .timeline-content:hover::before {
    opacity: 1;
    box-shadow: 2px 0 12px rgba(139, 92, 246, 0.2);
}

.timeline-item--indie .timeline-content:hover::after {
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 30%, rgba(236, 72, 153, 0.3) 70%, transparent 100%);
}

.timeline-item--indie .timeline-desc li::before {
    background: #8b5cf6;
}

.timeline-item--indie .timeline-tech {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.timeline-item--indie .timeline-tech:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #ddd6fe;
    border-color: rgba(139, 92, 246, 0.35);
}

.timeline-item--indie .timeline-content h4,
.timeline-item--indie .timeline-company,
.timeline-item--indie .timeline-desc li,
.timeline-item--indie .timeline-date,
.timeline-item--indie .timeline-location {
    font-style: italic;
}

.timeline-header-info {
    flex: 1;
    min-width: 0;
}

.timeline-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.timeline-company {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.timeline-company::before {
    display: none;
}

.timeline-company-link {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.timeline-company-link:hover {
    color: #93c5fd;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    margin-left: 10px;
}

.timeline-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(52, 211, 153, 0.5); }
    50% { opacity: 0.5; box-shadow: 0 0 12px rgba(52, 211, 153, 0.8); }
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.76rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    padding: 0 24px 16px;
    margin-left: 84px;
}

.timeline-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-weight: 500;
}

.timeline-date::before {
    content: '';
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    opacity: 0.6;
}

.timeline-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-location::before {
    content: '📍';
    font-size: 0.72rem;
}

/* ── Timeline Body (Description + Tags) ── */
.timeline-body {
    padding: 0 24px 22px;
    margin-left: 84px;
}

.timeline-desc {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-desc li {
    position: relative;
    padding-left: 18px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
    transition: color 0.3s ease;
}

.timeline-desc li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0.3;
    transition: all 0.3s ease;
    transform: rotate(45deg);
}

.timeline-content:hover .timeline-desc li::before {
    opacity: 0.7;
    background: var(--accent-light);
}

.timeline-content:hover .timeline-desc li {
    color: var(--text-primary);
}

/* ── Timeline Tech Tags ── */
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.timeline-tech {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    color: #60a5fa;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(34, 211, 238, 0.06) 100%);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    backdrop-filter: blur(4px);
}

.timeline-tech:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.22) 0%, rgba(34, 211, 238, 0.15) 100%);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.2);
}

/* ── Staggered Timeline Animation ── */
.timeline-item {
    opacity: 0;
    transform: translateY(16px);
    animation: timelineSlideIn 0.45s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.12s; }
.timeline-item:nth-child(3) { animation-delay: 0.19s; }
.timeline-item:nth-child(4) { animation-delay: 0.26s; }
.timeline-item:nth-child(5) { animation-delay: 0.33s; }
.timeline-item:nth-child(6) { animation-delay: 0.40s; }

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

/* ===== SKILLS — Card Grid ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.skill-card {
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--skill-color) 14%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--skill-color) 6%, transparent) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--skill-color) 18%, transparent);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--skill-color), transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Corner aura glow */
.skill-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, color-mix(in srgb, var(--skill-color) 18%, transparent) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.skill-card:hover {
    border-color: color-mix(in srgb, var(--skill-color) 45%, transparent);
    transform: translateY(-4px);
    box-shadow:
        0 0 25px color-mix(in srgb, var(--skill-color) 15%, transparent),
        0 16px 45px rgba(0, 0, 0, 0.28);
}

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

.skill-card:hover::after {
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, color-mix(in srgb, var(--skill-color) 22%, transparent) 0%, transparent 70%);
}

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

.skill-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--skill-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--skill-color) 35%, transparent);
}

.skill-card:hover .skill-card-icon {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--skill-color) 50%, transparent);
}

.skill-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

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

.skill-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.skill-tag {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-tag:hover {
    background: color-mix(in srgb, var(--skill-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--skill-color) 40%, transparent);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--skill-color) 20%, transparent);
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== APPS ===== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.app-card {
    --app-glow: 0, 122, 255;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--app-glow), 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(var(--app-glow), 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.75) 100%);
    border: 1px solid rgba(var(--app-glow), 0.22);
    border-radius: 18px;
    padding: 0;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(var(--app-glow)), transparent);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Corner aura glow */
.app-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(var(--app-glow), 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(var(--app-glow), 0.18), 0 16px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(var(--app-glow), 0.5);
}

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

.app-card:hover::after {
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--app-glow), 0.2) 0%, transparent 70%);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-card:hover .app-link {
    color: var(--accent-light);
    gap: 10px;
}

.app-card-body {
    padding: 22px 22px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.app-header-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.app-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.app-card:hover .app-name {
    background: linear-gradient(135deg, #ffffff 0%, rgb(var(--app-glow)) 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-platform {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

/* ── App Role Bookmark Tags ── */
.app-role {
    position: absolute;
    top: 0;
    right: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 8px 14px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    z-index: 3;
    line-height: 1;
    text-align: center;
    min-width: 48px;
}

.app-role--creator {
    color: #fff;
    background: linear-gradient(180deg, #22c55e, #15803d);
}

.app-role--contributor {
    color: #fff;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.app-role--own {
    color: #fff;
    background: linear-gradient(180deg, #f59e0b, #b45309);
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}

.app-tag {
    padding: 4px 12px;
    background: rgba(var(--app-glow), 0.08);
    border: 1px solid rgba(var(--app-glow), 0.22);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgb(var(--app-glow));
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.app-card:hover .app-tag {
    background: rgba(var(--app-glow), 0.16);
    border-color: rgba(var(--app-glow), 0.45);
    box-shadow: 0 0 12px rgba(var(--app-glow), 0.15);
}

.app-card-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 16px;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.app-link svg {
    transition: transform 0.25s ease;
}

.app-card:hover .app-link svg {
    transform: translateX(4px);
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.cert-card {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: var(--transition-base);
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-card-hover);
}

a.cert-card {
    text-decoration: none;
    color: inherit;
}

.cert-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.cert-icon--logo {
    background: #fff;
    border: 1px solid var(--border-card);
    padding: 6px;
    width: 64px;
    height: 64px;
}

.cert-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cert-org {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.cert-date {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    background:
        radial-gradient(circle at 30% 0%, rgba(0, 122, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 100%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.78) 100%);
    border: 1px solid rgba(0, 122, 255, 0.25);
    border-radius: 20px;
    padding: 54px 40px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(0, 122, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Top animated gradient line */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #60a5fa 25%,
        #a78bfa 50%,
        #22d3ee 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: ctaShimmer 4s linear infinite;
}

@keyframes ctaShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Drifting background aura */
.cta-card::after {
    content: '';
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: ctaAuraDrift 16s ease-in-out infinite alternate;
}

@keyframes ctaAuraDrift {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(2%, -2%) rotate(3deg); }
    100% { transform: translate(-2%, 2%) rotate(-3deg); }
}

.cta-top {
    position: relative;
    z-index: 1;
}

.cta-emoji {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: ctaEmojiFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 6px 14px rgba(0, 122, 255, 0.25));
}

@keyframes ctaEmojiFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

.cta-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(
        110deg,
        #60a5fa 0%,
        #a78bfa 30%,
        #22d3ee 60%,
        #60a5fa 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: ctaTitleShimmer 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.15));
}

@keyframes ctaTitleShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.cta-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

/* Shimmer sweep on hover */
.cta-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cta-pill:hover::before {
    left: 100%;
}

.cta-pill:hover {
    transform: translateY(-3px) scale(1.02);
}

.cta-pill svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-pill:hover svg {
    transform: scale(1.1);
}

.cta-pill svg {
    flex-shrink: 0;
}

.cta-pill--email {
    background: rgba(0, 122, 255, 0.08);
    color: var(--accent-light);
    border-color: rgba(0, 122, 255, 0.2);
}
.cta-pill--email:hover {
    background: rgba(0, 122, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
}

.cta-pill--wa {
    background: rgba(37, 211, 102, 0.08);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
}
.cta-pill--wa:hover {
    background: rgba(37, 211, 102, 0.18);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
}

.cta-pill--li {
    background: rgba(10, 102, 194, 0.08);
    color: #3b9aff;
    border-color: rgba(10, 102, 194, 0.2);
}
.cta-pill--li:hover {
    background: rgba(10, 102, 194, 0.18);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.4);
}

.cta-pill--resume {
    background: rgba(139, 92, 246, 0.08);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.2);
}
.cta-pill--resume:hover {
    background: rgba(139, 92, 246, 0.18);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

/* ===== SOCIAL / CONTACT ===== */
.social-section {
    text-align: center;
}

.social-section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(0, 122, 255, 0.1);
    box-shadow: 0 10px 30px var(--accent-glow);
    border-color: var(--accent);
}

.social-link:hover svg {
    color: var(--accent-light);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-card);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.reveal-stagger.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.reveal-stagger.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.reveal-stagger.visible>*:nth-child(7) {
    transition-delay: 0.35s;
}

.reveal-stagger.visible>*:nth-child(8) {
    transition-delay: 0.4s;
}

.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* Stack layout vertically on mobile */
    html, body {
        overflow: auto;
        height: auto;
    }

    .split-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .left-panel {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-card);
    }

    .left-panel-inner {
        padding: 24px 20px;
    }

    .right-panel {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .right-panel::before {
        width: 100%;
        background: url('assets/myimage.png') center top / 100% auto no-repeat;
        position: fixed;
    }

    .right-panel::after {
        width: 100%;
        position: fixed;
    }

    .right-navbar {
        position: sticky;
        top: 0;
        padding: 12px 20px;
        justify-content: space-between;
    }

    .nav-pills {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        z-index: 999;
    }

    .nav-pills.active {
        display: flex;
    }

    .nav-pill {
        font-size: 1.2rem;
        padding: 10px 24px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .ig-top-row {
        gap: 14px;
    }

    .ig-avatar-ring {
        width: 88px;
        height: 88px;
    }

    .ig-stat-number {
        font-size: 1rem;
    }

    .ig-social-link {
        width: 34px;
        height: 34px;
    }

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

    .bento-tile--bio,
    .bento-tile--stats,
    .bento-tile--tech,
    .bento-tile--industries {
        grid-column: 1 / -1;
    }

    .bento-tile {
        padding: 20px;
    }

    .bento-stat-num {
        font-size: 1.3rem;
    }

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

    .education-card.small {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        text-align: center;
    }

    .timeline {
        padding: 20px 0;
    }

    .timeline::before {
        left: 15px;
        width: 2px;
    }

    .timeline-item {
        padding-left: 42px;
    }

    .timeline-item::before {
        left: 10px;
        top: 24px;
        width: 10px;
        height: 10px;
    }

    .timeline-header {
        padding: 16px;
    }

    .timeline-logo {
        width: 40px;
        height: 40px;
    }

    .timeline-meta {
        padding: 8px 16px 14px;
        margin-left: 72px;
    }

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

    .timeline-company {
        font-size: 0.82rem;
    }

    .timeline-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .timeline-body {
        margin-left: 56px;
        padding: 0 16px 16px;
    }

    .timeline-item {
        animation-delay: 0s !important;
    }

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

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

    .section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 32px 20px;
        gap: 20px;
    }

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

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

}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 36px;
    }

    .timeline::before {
        left: 11px;
    }

    .timeline-item::before {
        left: 6px;
        width: 10px;
        height: 10px;
    }

    .timeline-body {
        margin-left: 0;
        padding: 0 14px 14px;
    }

    .timeline-meta {
        margin-left: 0 !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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