:root {
    /* Professional Charcoal/Deep Violet Dark Theme (Default) */
    --bg-primary: #121212; /* Deep Charcoal */
    --bg-secondary: #1e1e2f; /* Dark Violet Tinted Gray */
    --text-primary: #ffffff; /* Pure White */
    --text-secondary: #b3b3b3; /* Light Gray */
    --accent-blue: #8a2be2; /* Blue Violet */
    --accent-purple: #9370db; /* Medium Purple */
    --bg-card-glass: rgba(30, 30, 47, 0.7);
    --nav-glass: rgba(18, 18, 18, 0.85);
    --border-glass: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(45, 45, 68, 0.8);
    --btn-primary-bg: #8a2be2;
    --btn-primary-hover: #7b1fa2; /* Darker Purple Matrix */
}

.light-theme {
    /* Warm/Sunset Light Theme Overlay */
    --bg-primary: #fff7ed; /* Orange 50 */
    --bg-secondary: #ffedd5; /* Orange 100 */
    --text-primary: #431407; /* Orange 950 */
    --text-secondary: #9a3412; /* Orange 800 */
    --accent-blue: #f97316; /* Orange 500 */
    --accent-purple: #f43f5e; /* Rose 500 */
    --bg-card-glass: rgba(255, 255, 255, 0.7);
    --nav-glass: rgba(255, 247, 237, 0.9);
    --border-glass: rgba(249, 115, 22, 0.2);
    --card-hover: rgba(255, 237, 213, 1);
    --btn-primary-bg: #ea580c; /* Orange 600 */
    --btn-primary-hover: #c2410c; /* Orange 700 */
    --particle-color: rgba(249, 115, 22, 0.5);
    --particle-line: rgba(244, 63, 94, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Reusable Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 1.1rem;
}

/* New Card Style */
.glass-card {
    background: var(--bg-card-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 20px; /* More rounded */
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Softer shadow */
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02); /* Slight scale */
    background: var(--card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* deeper shadow on hover */
    border-color: var(--accent-blue); /* Highlight border */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 30px; /* Pill buttons */
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: #fff;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 20px;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 40px;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 25px 0;
}

.glass-nav.scrolled {
    background: var(--nav-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger, .theme-toggle {
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-primary);
    transition: color 0.3s ease, transform 0.3s;
}

.theme-toggle:hover {
    color: var(--accent-blue);
    transform: rotate(15deg);
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--accent-blue); /* Changed */
    font-weight: 500;
    margin-bottom: 1.8rem;
    min-height: 2.5rem;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 12px; /* Squircle */
    background: var(--bg-card-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Center instead of flex-end */
}

.image-wrapper{
    position: relative;
    width:350px;   /* reduced from 450px */
    height:350px;  /* reduced from 450px */
    display:flex;
    justify-content:center;
    align-items:center;
}


/* Changed geometric shape completely */
.geometric-shape {
background: linear-gradient(135deg, var(--bg-card-glass) 0%, rgba(2, 44, 34, 0.1) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid var(--border-glass);
    border-radius: 50%; /* Simple circle */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(16, 185, 129, 0.1), 0 0 60px rgba(16, 185, 129, 0.15);
    overflow: hidden;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); /* changed angle */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.profile-placeholder h2 {
    font-size: 7rem;
    color: white;
    margin: 0;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

/* About Section */
.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 900px;
    text-align: center; /* Centered */
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-details {
    display: flex;
    justify-content: center; /* Centered */
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    flex-direction: column; /* Stacked */
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.detail-item i {
    color: var(--accent-blue); /* Changed */
    font-size: 2.5rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 20px;
    border-radius: 50%;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-glass);
    padding-bottom: 10px;
}

.skill-category h3 i {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateX(5px);
    border-color: var(--accent-blue);
}

.skill-item span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.skill-item span i {
    color: var(--accent-blue);
    font-size: 1.3rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider */
    gap: 3rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.project-img {
    height: 250px; /* Taller image */
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--accent-blue); /* Changed border to accent */
    overflow: hidden;
    position: relative;
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%); /* Subtle colored bg */
    font-size: 5rem; /* Larger icons */
    color: var(--accent-purple);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .placeholder-img {
    transform: scale(1.1) rotate(5deg); /* Added rotation */
    color: var(--accent-blue);
}

.project-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.tech-stack span {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    border-radius: 4px; /* Square tags */
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
}

/* Training / Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px; /* Thicker line */
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple)); /* Gradient line */
    left: 40px; /* Shifted */
    top: 0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem; /* More spacing */
    padding-left: 5rem;
    margin-left: 30px;
}

.timeline-dot {
    position: absolute;
    left: -2px; /* Adjusted to fit shifted line */
    top: 30px;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px var(--accent-blue);
}

.timeline-item h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.timeline-date {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--bg-primary); /* Changed */
    background: var(--accent-purple);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 700;
}

.timeline-content h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

.timeline-content ul {
    list-style-type: none; /* Changed back to empty */
    padding-left: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Achievements Section */
.achievements-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.achievement-card {
    display: flex;
    flex-direction: column; /* Stacked */
    align-items: center;
    text-align: center;
    max-width: 350px;
    flex: 1 1 300px;
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); /* Gradient background */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transform: rotate(45deg); /* Diamond shape */
}

.achievement-icon i {
    transform: rotate(-45deg); /* Counter rotate icon */
}

.achievement-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.achievement-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.date-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    border-radius: 20px;
    font-weight: 600;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    text-align: left; /* Left align */
    padding: 2.5rem;
    border-left: 4px solid var(--accent-blue); /* Left border accent */
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.cert-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Resume */
.text-center { text-align: center; }

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, var(--bg-card-glass), rgba(18, 18, 18, 0.4));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-purple);
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.contact-item p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent-purple);
}

.contact-form {
    padding: 3rem 2.5rem;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.4), var(--bg-card-glass));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.15);
}

.form-group input:focus + label, 
.form-group textarea:focus + label {
    color: var(--accent-purple);
}

.submit-btn {
    width: 100%;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

.submit-btn:hover {
    box-shadow: 0 12px 25px rgba(138, 43, 226, 0.5);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 0rem 5% 2rem;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    position: relative;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit';
    letter-spacing: -2px;
}

.footer-logo span { color: var(--accent-blue); }

footer p { color: var(--text-secondary); font-size: 1rem; }

.scroll-top {
    position: absolute;
    right: 5%;
    top: -25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.2rem;
}

.scroll-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.6);
}

/* Animations */
.reveal, .reveal-up, .reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncier reveal */
}

.reveal {
    transform: scale(0.9);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal.visible, .reveal-up.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .section-padding { padding: 80px 5%; }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4rem; /* Increased */
        padding-top: 120px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-desc {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        flex-direction: column;
        border-bottom: none; /* remove borders on mobile */
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Full screen menu */
        height: 100vh;
        background: var(--bg-card-glass); /* Use glass for full screen */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .nav-links a {
        font-size: 1.5rem; /* Larger links */
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .theme-toggle {
        margin-right: 20px;
    }
    
    .timeline::before {
        left: 20px; /* Shift line to edge on mobile */
    }
    
    .timeline-item {
        margin-left: 0;
        padding-left: 3rem;
    }
    
    .timeline-dot {
        left: 8px; /* Realight dot to line */
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
}
