/* 
 * Premium Portfolio Styles - Advanced Animations Update
 * Designer: AntiGravity
 */

:root {
    /* Color Palette */
    --bg-dark: #070a13;
    --bg-card: rgba(13, 18, 30, 0.4);
    --border-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --accent-primary: #00f0ff;
    --accent-secondary: #7000ff;
    --accent-glow: rgba(0, 240, 255, 0.5);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Cursor */
body {
    cursor: none; /* Hide default cursor */
}

a, button, input, textarea, .glass-card, .timeline-item {
    cursor: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 0 10px var(--accent-glow);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.15s ease-out, height 0.15s ease-out, background-color 0.15s ease-out;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.1s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 25s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.2) 0%, rgba(0,0,0,0) 70%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112,0,255,0.15) 0%, rgba(0,0,0,0) 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,0,128,0.08) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseOrb 10s infinite alternate;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes pulseOrb {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.6; }
}

/* Base Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect for glass card */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 150%;
    transition: 0.7s;
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0,240,255,0.15);
}

span {
    color: var(--accent-primary);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,240,255,0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,240,255,0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-3px) scale(1.02);
    color: var(--accent-primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-slow);
    padding: 1.8rem 0;
}

header.scrolled {
    padding: 1.2rem 0;
    background: rgba(7, 10, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.logo span {
    background: var(--accent-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.main-nav .nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transition: var(--transition-smooth);
    opacity: 0;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* Sections Common */
.section {
    padding: 8rem 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title span {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-text {
    flex: 1;
}

.greeting {
    font-size: 1.3rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 30px;
}

.name {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.role {
    font-size: 2.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
    min-height: 3rem;
}

.typed-text {
    color: var(--accent-primary);
    font-weight: 600;
}

.cursor-blink {
    animation: blink 1s infinite steps(1);
    color: var(--text-primary);
}

@keyframes blink {
    50% { opacity: 0; }
}

.company {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.company span {
    font-weight: 600;
    color: var(--text-primary);
}

.hero-bio {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 550px;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 480px;
    border-radius: 24px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), transparent 40%, var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: grayscale(10%) contrast(1.1);
    transition: var(--transition-slow);
    z-index: 1;
}

.image-wrapper:hover img {
    filter: grayscale(0%) contrast(1.1);
}

.floating-badge {
    position: absolute;
    background: rgba(13, 18, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    animation: bounce 4s infinite ease-in-out alternate;
    z-index: 2;
}

.badge-1 {
    top: 40px;
    right: -40px;
    animation-delay: 0.5s;
    border-color: rgba(0,240,255,0.3);
}

.badge-2 {
    bottom: 60px;
    left: -50px;
    animation-delay: 1.5s;
    border-color: rgba(112,0,255,0.3);
}

.floating-badge i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.scroll-indicator a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* About Section */
.about-card {
    line-height: 1.9;
    font-size: 1.05rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 3rem;
}

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

.stat-number {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    transition: var(--transition-medium);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: var(--accent-primary);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0,240,255,0.2);
    color: var(--accent-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.timeline-role {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.timeline-list {
    color: var(--text-secondary);
    list-style-type: none;
    padding-left: 0;
}

.timeline-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 1.2rem;
    top: -2px;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.edu-card {
    text-align: center;
    padding: 3.5rem 2.5rem;
}

.edu-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(112,0,255,0.1));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition-medium);
}

.edu-card:hover .edu-icon {
    transform: translateY(-10px) rotateY(180deg);
    box-shadow: 0 15px 35px rgba(0,240,255,0.2);
}

.edu-degree {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.edu-institution {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.edu-year {
    color: var(--accent-secondary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.edu-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    padding: 2.5rem;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1.2rem;
}

.skill-category h3 i {
    color: var(--accent-primary);
    font-size: 1.6rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-weight: 500;
}

.skill-tag:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,240,255,0.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding: 3rem 2.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-details i {
    width: 45px;
    height: 45px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0,240,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px) rotate(360deg);
}

.contact-form {
    padding: 3rem 2.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    background: rgba(7, 10, 19, 0.9);
}

.submit-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.1rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 0;
    text-align: center;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
}

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

/* Enhanced Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(5px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    body { cursor: auto; } /* Disable custom cursor on touch devices */
    .cursor-dot, .cursor-outline { display: none; }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-bio {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .name {
        font-size: 3.2rem;
    }

    .role {
        font-size: 1.6rem;
    }

    .section {
        padding: 5rem 0 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 10, 19, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: var(--transition-slow);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        padding: 1rem 0;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .badge-1, .badge-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }

    .role {
        font-size: 1.3rem;
    }

    .image-wrapper {
        width: 300px;
        height: 380px;
    }

    .timeline {
        padding-left: 10px;
    }

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

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

    .timeline-dot {
        left: 1px;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
}
