/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2e;
    --bg-card: rgba(20, 20, 60, 0.6);
    --bg-card-hover: rgba(30, 30, 80, 0.8);
    --purple-primary: #7c3aed;
    --purple-light: #a78bfa;
    --purple-dark: #4c1d95;
    --purple-glow: rgba(124, 58, 237, 0.3);
    --magenta: #c026d3;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(124, 58, 237, 0.2);
    --border-glow: rgba(124, 58, 237, 0.4);
    --gradient-purple: linear-gradient(135deg, #7c3aed, #c026d3);
    --gradient-bg: linear-gradient(180deg, #0a0a1a 0%, #0f0f2e 50%, #0a0a1a 100%);
    --font-heading: 'Roboto', Helvetica, Arial, sans-serif;
    --font-body: 'Roboto', Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(ellipse 80% 70% at 5% 65%, rgba(55, 40, 200, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 95% 5%, rgba(110, 35, 190, 0.45) 0%, transparent 60%),
        #07071a;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--purple-primary);
    color: white;
}

/* ===== Background Particles ===== */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--purple-primary);
    opacity: 0.15;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== Resume Button ===== */
.resume-btn {
    background: var(--gradient-purple);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1.1rem;
    margin-left: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

.resume-btn:hover {
    opacity: 0.88;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.55);
    transform: translateY(-1px);
}

.resume-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.mobile-resume-li {
    display: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: url('Images/Manish rectangle photo right aligned.png') no-repeat right 15% / cover;
    background-color: #07071a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 85% at 12% 55%, rgba(55, 10, 120, 0.85) 0%, transparent 58%),
        linear-gradient(rgba(4, 4, 18, 0.78), rgba(4, 4, 18, 0.78));
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--purple-light);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 560px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Contact Chips */
.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-chip:hover {
    border-color: var(--purple-primary);
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--purple-glow);
}

.contact-chip svg {
    flex-shrink: 0;
}



/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gradient-purple);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ===== Keywords Marquee ===== */
.keywords-marquee {
    overflow: hidden;
    padding: 1.5rem 0;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Skills Section ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.skill-category h3 {
    font-size: 1rem;
    color: var(--purple-light);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.4rem 1rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--purple-glow);
}

/* ===== Competencies Section ===== */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.competency-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.competency-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.competency-card:hover::after {
    opacity: 0.08;
}

.competency-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.competency-icon {
    margin-bottom: 1.5rem;
    color: var(--purple-light);
    position: relative;
    z-index: 1;
}

.competency-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.competency-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== Education Section ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.edu-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.edu-icon {
    color: var(--purple-light);
    margin-bottom: 1rem;
}

.cert-icon {
    color: var(--magenta);
}

.edu-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.edu-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.edu-year {
    font-size: 0.8rem;
    color: var(--purple-light);
    font-weight: 500;
}

/* ===== Experience Section ===== */
.experience-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.experience-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-block:hover::before {
    opacity: 1;
}

.experience-block:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.12);
}

.exp-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.exp-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.exp-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.exp-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.exp-role {
    font-size: 1.1rem;
    color: var(--purple-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.exp-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.exp-growth {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Experience Metrics */
.exp-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.metric-icon {
    font-size: 1.2rem;
}

/* Contributions */
.exp-contributions {
    margin-bottom: 2rem;
}

.exp-contributions h4,
.achievements h4,
.career-timeline h4 {
    font-size: 1rem;
    color: var(--purple-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.exp-contributions ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.exp-contributions li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.exp-contributions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-primary);
}

/* ===== Career Timeline ===== */
.career-timeline {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple-primary), var(--magenta), var(--purple-dark));
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 80% 70% at 5% 65%, rgba(55, 40, 200, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 55% 55% at 95% 5%, rgba(110, 35, 190, 0.45) 0%, transparent 60%),
        #07071a;
    background-attachment: fixed;
    border: 3px solid var(--purple-primary);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--purple-primary);
    box-shadow: 0 0 15px var(--purple-glow);
}

.timeline-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--purple-light);
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===== Achievements ===== */
.achievement-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 12px;
    transition: var(--transition);
}

.achievement-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--purple-glow);
    border-color: var(--purple-primary);
}

.badge-icon {
    font-size: 1.5rem;
}

.achievement-badge strong {
    display: block;
    font-size: 0.95rem;
}

.achievement-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Extras Section (Languages & Hobbies) ===== */
.extras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.extras-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.extras-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Bars */
.language-list {
    display: grid;
    gap: 1.25rem;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-item span {
    min-width: 80px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.lang-bar {
    flex: 1;
    height: 8px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.lang-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-purple);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hobbies */
.hobbies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hobby-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    transition: var(--transition);
}

.hobby-item:hover {
    transform: translateY(-3px);
    border-color: var(--purple-primary);
    box-shadow: 0 4px 15px var(--purple-glow);
}

.hobby-icon {
    font-size: 1.5rem;
}

.hobby-item span:last-child {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    border-color: var(--purple-primary);
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--purple-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero fade-up animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
    }

    .hero-summary {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-contact {
        justify-content: center;
    }

    .hero-name {
        font-size: 3rem;
    }

    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .resume-btn {
        display: none;
    }

    .mobile-resume-li {
        display: block;
        margin-top: 0.5rem;
    }

    .mobile-resume-li .resume-btn {
        display: inline-block;
        width: 100%;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        text-align: center;
        cursor: pointer;
        border: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .skills-grid,
    .competencies-grid,
    .extras-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        flex-direction: column;
        text-align: center;
    }

    .exp-metrics {
        grid-template-columns: 1fr;
    }

    .experience-block {
        padding: 2rem 1.5rem;
    }

    .achievement-badges {
        flex-direction: column;
    }

    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-contact {
        flex-direction: column;
        align-items: center;
    }

    .image-frame {
        display: none;
    }
}

